You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2020/04/11 18:59:55 UTC
[GitHub] [mina-sshd] lgoldstein edited a comment on issue #120: Increase log
level to error for scp error logs
lgoldstein edited a comment on issue #120: Increase log level to error for scp error logs
URL: https://github.com/apache/mina-sshd/pull/120#issuecomment-612490266
>> There are cases where scp fails from different set of servers which is very hard to debug. And making the error log trace creates lot of friction, as it creates GBs of logs in a minute in production servers. It make sense to log exception in hotspots, as it incurs performance penalty, but not here.
Let me know how I can make this better. Should I just make the debug statement(just above the change) to error so that there won't be any logging of stack trace?
I understand this and will have to think about it some more... however while I am doing this
>> making the error log trace creates lot of friction, as it creates GBs of logs in a minute in production servers
You don't have to enable logging for `org.apache.sshd` - you could enable only the relevant SCP package or just the `SCPCommand` class...
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org