[ 
https://issues.apache.org/jira/browse/DRILL-7417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16958808#comment-16958808
 ] 

ASF GitHub Bot commented on DRILL-7417:
---------------------------------------

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

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillSpnegoLoginService.java
 ##########
 @@ -122,7 +122,8 @@ private UserIdentity spnegoLogin(Object credentials) {
 
           // Get the client user short name
           final String userShortName = new 
HadoopKerberosName(clientName).getShortName();
-
+          logger.info("WebUser {} logged in from {}:{}", userShortName, 
request.getRemoteHost(),
 
 Review comment:
   ```suggestion
             logger.info("WebUser {} logged in from {}: {}", userShortName, 
request.getRemoteHost(),
   ```
 
----------------------------------------------------------------
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:
us...@infra.apache.org


> Add user logged in/out event in info level logs
> -----------------------------------------------
>
>                 Key: DRILL-7417
>                 URL: https://issues.apache.org/jira/browse/DRILL-7417
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Security
>            Reporter: Sorabh Hamirwasia
>            Assignee: Sorabh Hamirwasia
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to