tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig
Date Sat, 25 Feb 2012 19:41:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:

  is called, it will get logged because the level
  intrinsic to the method severe is greater than 3.  So you are following this, but wondering
  how myLogger's level got set to 3 (INFO), since we never explicitly set it.  The answer
- is that it comes the root Logger.  Now suppose you created logger named 'com.example.myapp'
+ is that it comes from the root Logger.  Now suppose you created logger named 'com.example.myapp'
  and set its level.  Would myLogger still get its level from the root Logger.  It would not.
  The reason is that the logger named 'com.example.myapp' is now a parent logger to myLogger,
  and myLogger gets its level from it instead.  How did the 'com.example.myapp' Logger

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message