diff options
-rw-r--r-- | Http/Firewall/AnonymousAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/ChannelListener.php | 4 | ||||
-rw-r--r-- | Http/Firewall/UsernamePasswordFormAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/RememberMe/AbstractRememberMeServices.php | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/Http/Firewall/AnonymousAuthenticationListener.php b/Http/Firewall/AnonymousAuthenticationListener.php index a6f8742..d00865d 100644 --- a/Http/Firewall/AnonymousAuthenticationListener.php +++ b/Http/Firewall/AnonymousAuthenticationListener.php @@ -49,7 +49,7 @@ class AnonymousAuthenticationListener implements ListenerInterface $this->context->setToken(new AnonymousToken($this->key, 'anon.', array())); if (null !== $this->logger) { - $this->logger->debug(sprintf('Populated SecurityContext with an anonymous Token')); + $this->logger->info(sprintf('Populated SecurityContext with an anonymous Token')); } } } diff --git a/Http/Firewall/ChannelListener.php b/Http/Firewall/ChannelListener.php index 73bb076..847753f 100644 --- a/Http/Firewall/ChannelListener.php +++ b/Http/Firewall/ChannelListener.php @@ -48,7 +48,7 @@ class ChannelListener implements ListenerInterface if ('https' === $channel && !$request->isSecure()) { if (null !== $this->logger) { - $this->logger->debug('Redirecting to HTTPS'); + $this->logger->info('Redirecting to HTTPS'); } $response = $this->authenticationEntryPoint->start($request); @@ -60,7 +60,7 @@ class ChannelListener implements ListenerInterface if ('http' === $channel && $request->isSecure()) { if (null !== $this->logger) { - $this->logger->debug('Redirecting to HTTP'); + $this->logger->info('Redirecting to HTTP'); } $response = $this->authenticationEntryPoint->start($request); diff --git a/Http/Firewall/UsernamePasswordFormAuthenticationListener.php b/Http/Firewall/UsernamePasswordFormAuthenticationListener.php index 816cae4..a6b6968 100644 --- a/Http/Firewall/UsernamePasswordFormAuthenticationListener.php +++ b/Http/Firewall/UsernamePasswordFormAuthenticationListener.php @@ -56,7 +56,7 @@ class UsernamePasswordFormAuthenticationListener extends AbstractAuthenticationL { if ($this->options['post_only'] && 'post' !== strtolower($request->getMethod())) { if (null !== $this->logger) { - $this->logger->err(sprintf('Authentication method not supported: %s.', $request->getMethod())); + $this->logger->debug(sprintf('Authentication method not supported: %s.', $request->getMethod())); } return null; diff --git a/Http/RememberMe/AbstractRememberMeServices.php b/Http/RememberMe/AbstractRememberMeServices.php index 74acdef..7d273b9 100644 --- a/Http/RememberMe/AbstractRememberMeServices.php +++ b/Http/RememberMe/AbstractRememberMeServices.php @@ -112,7 +112,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface } if (null !== $this->logger) { - $this->logger->debug('Remember-me cookie accepted.'); + $this->logger->info('Remember-me cookie accepted.'); } return new RememberMeToken($user, $this->providerKey, $this->key); @@ -126,11 +126,11 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface } } catch (UnsupportedUserException $unSupported) { if (null !== $this->logger) { - $this->logger->err('User class for remember-me cookie not supported.'); + $this->logger->warn('User class for remember-me cookie not supported.'); } } catch (AuthenticationException $invalid) { if (null !== $this->logger) { - $this->logger->err('Remember-Me authentication failed: '.$invalid->getMessage()); + $this->logger->debug('Remember-Me authentication failed: '.$invalid->getMessage()); } } |