I want to make certain loggers asynchronous and am using the properties
format for configuration.
What is the syntax for this?
I tried the following but didn't work
loggers = hive
asyncLogger.hive.name = hive
asyncLogger.hive.level = WARN
Hi,
we have multiple webapps, say, webapp1 and webapp2, that use a shared apache
lib (say commonLib, which also uses log4j logging) that deployed as jndi
resource in tomcat (thus was put in tomcat/lib), and followings are our log4j
jars deploy location:
tomcat/lib:
- log4j-core.jar, log4j-api.
Note: in the above example, 3 loggerContext will be created, as:
- webapp1
- webapp2
- 6dde5c8d (for the commonLib that uses webapp1 log4j2.xml)
-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional c
You didn’t say if you also have a log4j2.xml file in tomcat/lib. If you log
something before the two web apps start I am certain that it would use the
log4j2.xml in tomcat/lib. I will have to look at the code that loads the
configuration file to determine which ClassLoader it will use when the c