[logback-user] logback using a lot of CPU?

Perryn Fowler pezlists at gmail.com
Fri Aug 24 10:00:52 CEST 2012


Hello there

We are trying to make our Spring-based web application faster - as part of
that we profiled it using JProfiler.

Surprisingly we found that a rather large amount of our CPU seems to be
being used in logback packages:

ch.qos.logback.classic           -  21%
ch.qos.logback.classic.spi       -  13%
ch.qos.logback.classic.turbo     -   9%

We don't actually do much logging - in this run we actually wrote nothing
to the logs. (We were at INFO level and no errors or noteworthy events
occurred)

When we drill down into one particular method, Jprofiler insists that one
of our methods is calling ch.qos.logback.classic.Logger.log, but this
method does not do any logging and the class does not reference logging at
all.

Any ideas what we are doing wrong?

cheers
Pez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120824/1576292a/attachment.html>


More information about the Logback-user mailing list