C
CrassMaster
similar to the PatternLayout is there a way to configure the XMLLayout
I am including my property file... any help would be greatly
appreciated. Basically I want to be able to include custom elements
within my xml output
thanks
log4j.rootLogger=DEBUG, B1, A1
log4j.appender.B1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.B1.File=c:/undeleted/output.log
log4j.appender.B1.datePattern='.'yyyy-MM-dd
log4j.appender.B1.layout=org.apache.log4j.PatternLayout
log4j.appender.B1.layout.ConversionPattern=%d{yyyyMMdd}|%d{HH:mm:ss}|%-5p|%-6L|%-60C|%-40M|%m%n
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.A1.append=true
log4j.appender.A1.file=c:/undeleted/output.xml
I am including my property file... any help would be greatly
appreciated. Basically I want to be able to include custom elements
within my xml output
thanks
log4j.rootLogger=DEBUG, B1, A1
log4j.appender.B1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.B1.File=c:/undeleted/output.log
log4j.appender.B1.datePattern='.'yyyy-MM-dd
log4j.appender.B1.layout=org.apache.log4j.PatternLayout
log4j.appender.B1.layout.ConversionPattern=%d{yyyyMMdd}|%d{HH:mm:ss}|%-5p|%-6L|%-60C|%-40M|%m%n
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.A1.append=true
log4j.appender.A1.file=c:/undeleted/output.xml