Title: RE: [JBoss-user] Log4j & JBoss - HowTo?

Robert,

With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file.


### The nhigh appender
log4j.appender.Nhigh=org.apache.log4j.FileAppender
log4j.appender.Nhigh.File=../log/nhigh.log
log4j.appender.Nhigh.layout=org.apache.log4j.PatternLayout
log4j.appender.Nhigh.layout.ConversionPattern=%p\t%d{ISO8601}\t%t\t%x\t%c\t%m%n

log4j.category.com.nhigh=DEBUG, Nhigh
log4j.additivity.com.nhigh=false # This is needed so you don't get the jboss config

Paul


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]

Sent: 21 June 2001 15:36
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Log4j & JBoss - HowTo?



Thanks Paul, Fred & Scott for your replies.  If turning on the log4j service in JBoss is going to give me
is logging my stuff with JBoss' stuff, then I'll stick to what we've got.  Think we want to keep them
separate anyways. 

Robert Price

Reply via email to