Logging config dramatically impacts throughput
Marvin Addison
marvin.addison at gmail.com
Mon Sep 28 12:06:36 EDT 2015
>
> Maybe we should switch the defaults to it.
>
+1 for IDP_PROCESS appender.
The only downside is that it could increase likelihood of losing log
messages in the worst case, e.g. VM crash before dispatch queue is drained.
I opted for discardingThreshold=0 in our environment to prevent losing
messages when the queue is nearing its capacity, which is the other notable
situation where you can lose messages. With those caveats in mind, I felt
like it was a win for IDP_PROCESS where we can tolerate losing logs under
worst case. In contrast, I avoided the async appender for IDP_AUDIT where
we don't want to increase risk of losing data. Also, there's not as much
volume in the audit log (ours is 1/15 the size idp-process.log at INFO,
much less at DEBUG), so less to gain.
M <dev-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150928/4b85c204/attachment.html>
More information about the dev
mailing list