[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-user
Subject: Re: ConsoleAppender
From: "frannack" <frannack () hotmail ! com>
Date: 2001-10-27 6:55:04
[Download RAW message or body]
Hi
It looks like you used a FileAppender instead of a ConsoleAppender in your
XML file.
You cannot use FileAppender to output your log on the Console.
Franck
----- Original Message -----
From: "Ron Cain" <rcain@synchronnetworks.com>
To: "LOG4J Users Mailing List" <log4j-user@jakarta.apache.org>
Sent: Friday, October 26, 2001 4:41 PM
Subject: ConsoleAppender
> This must be a commonly asked question, but
> I can't find the answer in the usual places
> (FAQ, docs, etc.).
>
> My program is using Log4J 1.1.3 and when I make
> this initial call:
>
> DOMConfigurator.configure(fileName);
>
> I get these 2 warning messages. Tracing into Log4J
> looks like they are being logged as part of the
> setup process, before parsing my XML file.
>
> > log4j:WARN File option not set for appender [STDOUT].
> > log4j:WARN Are you using FileAppender instead of ConsoleAppender?
>
> Sorry if this question is answered elsewhere, but
> I'd appreciate a tip on what I have to do before
> calling the configure method to suppress this.
>
> And why doesn't FileAppender statically initialize
> to System.out unless told otherwise?
>
> Thanks,
>
> ... ron cain
> rcain@synchronnetworks.com)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic