> log4j.rootCategory=INFO, file, stdout
> log4j.rootCategory=ERROR, file, stdout
> log4j.rootCategory=WARN, file, stdout
> log4j.rootCategory=DEBUG, file, stdout

You only need one line of these to determine the MINIMUM log level that will
be accepted and sent to the attached appenders. Also, while you have defined
your SYSLOG appender in the configuration file, the appender is not attached
to any logger, and will not be receiving any events.  Try changing the above
4 lines to this 1 line:

log4j.rootCategory=DEBUG, file, stdout, SYSLOG

This will set the rootLogger (aka rootCategory), and send all events DEBUG
or higher to the 3 appenders: file, stdout and SYSLOG.

cheers,

Paul Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to