You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Jean Charles Jabouille <JE...@BULL.NET> on 2004/03/10 11:50:04 UTC

XML pattern

Hi,

I just started with Log4j, and i a have question:

-I use a xml layout. I d'like to know why i haven't the name of the
method in this format. Is there a xml pattern that we can specify ?


Here is a part of my log4j.properties file.

log4j.logger.hero=debug, myapp
log4j.additivity.hero=false

log4j.appender.myapp=org.apache.log4j.FileAppender
log4j.appender.myapp.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.myapp.append=false
log4j.appender.myapp.file=/home/jabouijc/log/file.xml


thanks for your replies