do you have log4j extras jar in your classpath? On Mon, Nov 16, 2009 at 3:42 PM, Pat Farrell <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
