Hello,
I am deploying a web application to WebSphere (6.0.2.x), using log4j
1.2.13. Most of my loggers (in log4j.properties) are set to INFO, and I
have a web "dashboard" for modifying log levels using:
Logger.getLogger("...").setLevel(Level.toLevel("..."))
I also update console appender thresholds by calling
getAppender(CONSOLE_APPENDER) on a logger that has all of the appenders on
it.
My problem though is for some reason the threshold on the appenders and the
level on the loggers reset themselves within a minute or two of changing
them, as if its losing its singleton instances and reloading
log4j.properties. Any ideas on how to prevent them from resetting?
Thank you!