Hi *.*,

Is there a way to specify in the configuration file a 
"ConversionPattern" for "HTMLLayout"?

If I use this,
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.File=log4j.html
log4j.priority.file=DEBUG
log4j.appender.file.layout=org.apache.log4j.HTMLLayout
log4j.appender.file.layout.ConversionPattern=%-5p %c - %m%n

It throws,
log4j:WARN No such property [conversionPattern] in 
org.apache.log4j.HTMLLayout.


But, this entry [ ConversionPattern ], works well with "ConsoleAppender" 
and using "PatternLayout".  Why is it that it just doesn't works well 
with "HTMLLayout"?  I need to have my own pattern.


Is there any work around to this?


Pandit.





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to