The-Yoda commented on issue #120: Increase log level to error for scp error logs
URL: https://github.com/apache/mina-sshd/pull/120#issuecomment-612623369
 
 
   Provided that it is a utility with only static methods, I'm not sure how 
user can intercept `LoggingUtils.logException(getClass(), "....message...",  
e);`.
   
   One way I could think of is plugging in the logging related code while 
configuring while creating the server or client(similar to EventListener). But 
this creates lot of churn to the user to go through all the trouble to add 
logging and they won't be aware of it. 
   Also, there will be hotspots with which user configuration will create more 
noise. So, they will need to do at class level. And it wouldn't be a good idea 
to let the user know what is there underneath.
   In short, giving control of logging errors may create more problems than it 
solves.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to