logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: log4j:WARN File option not set for appender [STDOUT]. - help required
Date Thu, 06 Dec 2001 08:37:54 GMT
> I get these following two messages when log4j starts up:
> 
> " log4j:WARN File option not set for appender [STDOUT].              "
> " log4j:WARN Are you using FileAppender instead of ConsoleAppender?  "
> 
> and can find no reason for them, nor a way to suppress them.

Check whether you've got a log4j.properties file lurking around
somewhere in your classpath. When log4j configures itself, it looks for
that first even if you've asked it to configure itself with a specific
file. That may be where there are problems.

Jon

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message