geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@coredevelopers.net>
Subject Re: two log4j files?
Date Tue, 26 Aug 2003 08:29:50 GMT
I believe incubator-geronimo/modules/core/src/java is for defaults, so  
the logging system will still function if for some reason  
etc/log4j.properties was not found.

--jason


On Tuesday, August 26, 2003, at 11:22  AM, Emerson Cargnin wrote:

> 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.XL 
> evel
> 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