logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosette Kamakian" <Cosette.Kamak...@itello.se>
Subject SV: log4j Guidelines
Date Thu, 21 Feb 2008 22:50:50 GMT
Thanks for the help , but that didn't help either.

// cosette

-----Ursprungligt meddelande-----
Från: Matthew Kemp [mailto:mattkemp@gmail.com] 
Skickat: den 21 februari 2008 23:46
Till: Log4J Users List
Ämne: Re: log4j Guidelines

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 <Cosette.Kamakian@itello.se>:

> The problem it is still their. Received the same error
>
> -----Ursprungligt meddelande-----
> Från: Curt Arnold [mailto:carnold@apache.org]
> 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: 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