geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siva" <s...@sivasundaram.com>
Subject Re: two log4j files?
Date Tue, 26 Aug 2003 05:20:04 GMT
Even i had the same confusion yesterday.I think the log4j present at
modules/core/src/conf is the one which goes into geronimo-core-dev.

Siva

----- Original Message -----
From: "Emerson Cargnin" <echofloripa@bol.com.br>
To: <geronimo-dev@incubator.apache.org>
Sent: Tuesday, August 26, 2003 9:52 AM
Subject: two log4j files?


> 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