summaryrefslogtreecommitdiff
path: root/app/Subscriber/AuthSubscriber.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-16 21:48:33 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-16 21:48:33 -0500
commit47e427457930db38030e1a10e0f3d97a71473371 (patch)
tree4384ce92ef2d26df9f4f872f52dbbe459280df69 /app/Subscriber/AuthSubscriber.php
parent41e900fc7a5cf53f340abdaf1e687adea7e0d0d3 (diff)
Remove __CLASS__ from debug logs
Diffstat (limited to 'app/Subscriber/AuthSubscriber.php')
-rw-r--r--app/Subscriber/AuthSubscriber.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Subscriber/AuthSubscriber.php b/app/Subscriber/AuthSubscriber.php
index 250c1fd3..e839385f 100644
--- a/app/Subscriber/AuthSubscriber.php
+++ b/app/Subscriber/AuthSubscriber.php
@@ -40,7 +40,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function afterLogin(AuthSuccessEvent $event)
{
- $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
+ $this->logger->debug('Subscriber executed: '.__METHOD__);
$userAgent = $this->request->getUserAgent();
$ipAddress = $this->request->getIpAddress();
@@ -71,7 +71,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function afterLogout()
{
- $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
+ $this->logger->debug('Subscriber executed: '.__METHOD__);
$credentials = $this->rememberMeCookie->read();
if ($credentials !== false) {
@@ -92,7 +92,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
*/
public function onLoginFailure(AuthFailureEvent $event)
{
- $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
+ $this->logger->debug('Subscriber executed: '.__METHOD__);
$username = $event->getUsername();
if (! empty($username)) {