-
1. Re: Jboss 3.0.0 and Log4j
javaguy Jul 11, 2002 8:39 PM (in response to javaguy)Hello Again,
Is it possible to have different package or class append to to a seperate files? I created two file appenders and set the following in my log4j.xml file
.
.
.
<appender-ref ref="fappender2" />
<appender-ref ref="console"/>
<appender-ref ref="fappender"/>
<appender-ref ref="fappender2"/>
</log4j:configuration>
The following will log all messages from all classes (jboss and my own app) to both file appenders. What do I have to set or do to make sure that only my.package logging will go to my 2nd file appender?
Thank You
JG -
2. Re: Jboss 3.0.0 and Log4j
javaguy Jul 11, 2002 8:40 PM (in response to javaguy)Hello Again,
Is it possible to have different package or class append to to a seperate files? I created two file appenders and set the following in my log4j.xml file
.
.
.
<appender-ref ref="fappender2" />
<appender-ref ref="console"/>
<appender-ref ref="fappender"/>
<appender-ref ref="fappender2"/>
</log4j:configuration>
The following will log all messages from all classes (jboss and my own app) to both file appenders. What do I have to set or do to make sure that only my.package logging will go to my 2nd file appender?
Thank You
JG -
3. Re: Jboss 3.0.0 and Log4j
javaguy Jul 11, 2002 8:42 PM (in response to javaguy)Hello Again,
Is it possible to have different package or class append to to a seperate files? I created two file appenders and set the following in my log4j.xml file
.
.
.
<appender-ref ref="fappender2" />
<appender-ref ref="console"/>
<appender-ref ref="fappender"/>
<appender-ref ref="fappender2"/>
</log4j:configuration>
The following will log all messages from all classes (jboss and my own app) to both file appenders. What do I have to set or do to make sure that only my.package logging will go to my 2nd file appender?
Thank You
JG