[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Warnings during intiialization
From:       "Mohan, Shashi" <smohan () road-inc ! com>
Date:       2001-10-29 6:51:09
[Download RAW message or body]

Hi,

We're using log4j in a project that requires that logs should be sent to 5
different log files based on some criteria. Also because of some other
requirements, I extended the FileAppender class to create my own appender
called SdcDailyRollingFileAppender. I have used 5 instances of this appender
during configuration with each appender pointing to a different log file.
During configuration, I get the following warning message:
	log4j:WARN File option not set for appender [RA_ERROR].
	log4j:WARN Are you using FileAppender instead of ConsoleAppender?
	log4j:WARN File option not set for appender [RA_OPERATION].
	log4j:WARN Are you using FileAppender instead of ConsoleAppender?  
However, the warning only occurs for these 2 appenders and not for all 5
appenders (All of them are pretty much the same except for file names). I
have attached the configuration file below.

Can anyone please explain why I'm getting these warning messages. Also these
warnings do not occur if I use DOMConfigurator (and XML config file), but
since our IT department does not want to use XML configuration files, I'm
stuck with the plaintext configuration file.

Thanks,
-Shashi Mohan





["sdclog.properties" (application/octet-stream)]

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto: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