diff --git a/lib/Backend/UserBackend.php b/lib/Backend/UserBackend.php index c2183bb..080a5c8 100644 --- a/lib/Backend/UserBackend.php +++ b/lib/Backend/UserBackend.php @@ -345,9 +345,12 @@ final class UserBackend extends ABackend implements } if ($isCorrect !== true) { - $this->logger->info( + $this->logger->error( "Invalid password attempt for user: $uid", - ["app" => $this->appName] + [ + "app" => $this->appName, + 'exception' => new \Exception('TRACE PROVIDER'), + ] ); return false; } diff --git a/lib/Cache.php b/lib/Cache.php index 6378004..f70cc61 100644 --- a/lib/Cache.php +++ b/lib/Cache.php @@ -61,7 +61,7 @@ class Cache $this->cache = $factory->createDistributed(); $logger->debug("Distributed cache initiated.", ["app" => $AppName]); } else { - $logger->warning( + $logger->debug( "There's no distributed cache available, fallback to null cache.", ["app" => $AppName] );