logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CodingPlayer <roman.ce...@researchstudio.at>
Subject multiple log4j.properties through dependencies?
Date Wed, 20 Feb 2008 17:08:19 GMT


i just wonder what happens if one has two projects, one of them depending on
the other.
(Lets say: a util project and an application.)

and both of them use a "log4j.properties" file (with a different config
setting, e.g.: log level, console/file, ...)

i would guess that the file which comes first in the classpath is taken into

So what is the best approach for such a situation?

only use ONE "log4j.properties" file in the (leaf) application project, and
don't use one in the dependent util project?

thx 4 help
View this message in context: http://www.nabble.com/multiple-log4j.properties-through-dependencies--tp15593675p15593675.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message