Hi,
I would really appreciate it if someone could elaborate on the case for these
logging properties:
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level
= INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers
= \
3manager.org.apache.juli.FileHandler
For example what additional logging capabilities does the above give in the
context of these properties:
3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.prefix = manager.
Also there's this part:
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
#org.apache.catalina.startup.ContextConfig.level = FINE
#org.apache.catalina.startup.HostConfig.level = FINE
#org.apache.catalina.session.ManagerBase.level = FINE
Should the left side of the equal sign be SEVERE in the above cases (I'll put
in a documentation ticket, just making sure)? Seems like these are setting the
log level directly on the Logger for the classes listed.
Would it be better to have something like this in the documentation:
# For example, set the org.apache.catalina.session.ManagerBase logger to only
log SEVERE
# messages:
#org.apache.catalina.session.ManagerBase.level = SEVERE
?
Also, assuming that the log level is set directly on the logger, does that buy
anything? From what I understand the logger has to delegate to a handler
eventually, and then the handlers level takes precedence...so is there a point
to setting it directly on the Logger?
Thanks,
- Ole
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]