logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Green, Kay" <Kay.Gr...@McKesson.com>
Subject RE: how to use EnhancedPatternLayout
Date Mon, 16 Nov 2009 15:59:39 GMT
I am not seeing log4j extras jar in apache-log4j-1.2.15.zip.
Where is this log4j extras jar file and is the name log4j_extras.jar?

Kay Green
11000 Westmoor Circle
Westminster, CO 80021
Office: 720 239-4639
Email: kay.green@mckesson.com
 
McKesson Provider Technologies
 
"Remember Life should NOT be a journey to the grave with the intention
of arriving safely in an attractive and well preserved body, but rather
to skid in sideways, chocolate in one hand, Mojito in the other, body
thoroughly used up, totally worn out and screaming "WOO HOO what a
ride!"  
Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.
-----Original Message-----
From: Yair Ogen [mailto:yairogen@gmail.com] 
Sent: Monday, November 16, 2009 8:17 AM
To: Log4J Users List
Subject: Re: how to use EnhancedPatternLayout

do you have log4j extras jar in your classpath?

On Mon, Nov 16, 2009 at 3:42 PM, Pat Farrell <pfarrell@pfarrell.com>
wrote:

> In another thread, it was suggested that I convert from using
>
> PatternLayout to EnhancedPatternLayout
>
> so I changed all occurances of PatternLayout to EnhancedPatternLayout
in
> my log4j.properties file. A typical line now looks like:
>
>
log4j.appender.fnfbookfile.layout=org.apache.log4j.EnhancedPatternLayout
>
>
> When I run the program, I get errors from log4j:
> log4j:ERROR No layout set for the appender named [daemon].
> log4j:ERROR No layout set for the appender named [pat].
>
> Did I guess the wrong format? Do I need to use a different
> layout.ConversionPattern?
>
> Do I need an additional jar file of libraries that contain the
> backported enhancements?
>
> Thanks
> Pat
>
> --
> Pat Farrell
> http://www.pfarrell.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message