geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emerson Cargnin" <echoflor...@bol.com.br>
Subject two log4j files?
Date Tue, 26 Aug 2003 04:22:52 GMT
Is it right, two log4j files?

log4j.properties - incubator-geronimo/modules/core/src/java
log4j.properties - incubator-geronimo/modules/core/src/conf

During the maven build the one at incubator-geronimo/modules/core/src/conf
is put at two places :

log4j.properties - incubator-geronimo/modules/core/target/classes
log4j.properties - incubator-geronimo/target/geronimo-DEV/etc

So, it goes inside geronimo-core-DEV.jar. Is it correct?

Sorry if it was correct, but for me it looks a kind of duplicated, and
causes confusion if you want to set log4j in a different manner.

log4j.properties - incubator-geronimo/modules/core/src/conf :
log4j.rootCategory=TRACE#org.apache.geronimo.core.log.XLevel, CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=TRACE#org.apache.geronimo.core.log.XLevel
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}]
%m%n

log4j.properties - incubator-geronimo/modules/core/src/java :

log4j.rootCategory=DEBUG, CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}]
%m%n


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 20/8/2003


Mime
View raw message