Try moving your 'ASYNC' appender definition after all the other appender definitions. This might be causing your error as none of the other appenders have been created yet.
Also as a side note, I'd recommend using <logger> instead of <category>. Matt 2008/2/21 Cosette Kamakian <[EMAIL PROTECTED]>: > The problem it is still their. Received the same error > > -----Ursprungligt meddelande----- > Från: Curt Arnold [mailto:[EMAIL PROTECTED] > Skickat: den 21 februari 2008 23:28 > Till: Log4J Users List > Ämne: Re: log4j Guidelines > > > On Feb 21, 2008, at 4:01 PM, Cosette Kamakian wrote: > > > To whom it may concen > > > > I 'm a beginner in using Log4j and I thought if you had the > > possibility to help me with a little problem . I'm using the book > > the complete log4j manual for my aid. I got a mission to use log4j > > for our logging. In the beginning when I logged with the help of > > log4j.properties I didn't receive any error but know when I need > > to use asyncAppender so I converted log4j.properties to log4j.xml > > and I got a problem . I receive the following error > > > > In any XML file, the XML declaration has to be there very, very first > thing in the file since it is used to determine the character > encoding, etc. Your file starts with a line feed. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
