mhenke1 commented on issue #2990: Change log level dynamically
URL: 
https://github.com/apache/incubator-openwhisk/pull/2990#issuecomment-346155636
 
 
   @chetanmeh Thank you for your feedback. Learning from proven solutions like 
Apache Sling is always a valuable asset to avoid making the same things wrong 
:-)
   Indeed we also looked into using Turbofilter, but had to learn that in our 
case they do not work well. 
   The reason is that we use Akka Logging. Log message are passed through the 
Akka Event Bus (we win asynchronicity on this way) before passed to Logback. 
When running on INFO level all DEBUG level messaged are not put into the event 
bus and therefore do not reach Logback and it's filters. The only way to 
exploit Logback filtering would have been to put all messages into the event 
bus and use Logback  to filter out the one with the appropriate level. But in 
this case we would would again see increased memory pressure due to bigger 
internal buffers needed by the event bus. So we decided for this simpler 
solution. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to