You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/10/24 10:53:59 UTC

[GitHub] [drill] arina-ielchiieva commented on a change in pull request #1880: DRILL-7417: Add user logged in/out event in info level logs

arina-ielchiieva commented on a change in pull request #1880: DRILL-7417: Add user logged in/out event in info level logs
URL: https://github.com/apache/drill/pull/1880#discussion_r338507582
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillRestLoginService.java
 ##########
 @@ -78,7 +78,7 @@ public UserIdentity login(String username, Object credentials, ServletRequest re
       // Authenticate the user with configured Authenticator
       userAuthenticator.authenticate(username, credentials.toString());
 
-      logger.debug("WebUser {} is successfully authenticated", username);
+      logger.info("WebUser {} logged in from {}:{}", username, request.getRemoteHost(), request.getRemotePort());
 
 Review comment:
   ```suggestion
         logger.info("WebUser {} logged in from {}: {}", username, request.getRemoteHost(), request.getRemotePort());
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services