Per the javadocs there is not a conversion pattern for HTML layout.
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/HTMLLayout.html

On 10/31/07, ratnesh gupta <[EMAIL PROTECTED]> wrote:
>
> 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.
> Is there any work around to this?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
James A. N. Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/
  • Re: Doubt ratnesh gupta
    • Re: Doubt James A. N. Stauffer

Reply via email to