lgoldstein commented on issue #120: Increase log level to error for scp error 
logs
URL: https://github.com/apache/mina-sshd/pull/120#issuecomment-612575529
 
 
   I have been considering perhaps using a dedicated logger for exceptions 
where in addition to logging as we currently do we also invoke this logger - 
e.g.:
   
   ```java
   try {
       ... some code...
   } catch (SomeException  e) {
      ...log as usual...
       LoggingUtils.logException(getClass(), "....message...",  e);
   }
   ```
   
   and then have  some mechanism by which users can intercept the calls to 
`LoggingUtils#logException` and decide for themselves at which level to log and 
what details to include.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to