busbey commented on pull request #4007:
URL: https://github.com/apache/hadoop/pull/4007#issuecomment-1047924692


   I'm wary of things that require us to reimplement the logging system 
handling the stack trace details. Maybe we could convey the purpose in either 
the exception message or the exception type that?
   
   e.g.
   ```java
         if (LOG.isDebugEnabled()) {
           LOG.debug("PrivilegedAction [as: {}][action: {}]", this, action,
               new JustForDebuggingException("call stack for privileged action; 
not an indication of a failure"));
         }
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to