logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Ballew" <rbal...@intraware.com>
Subject newbie question
Date Mon, 08 Jan 2001 19:18:08 GMT

Hi,

I'm trying to set up log4j (v0.9.1) as follows:

Category 1 -- com.intraware.logging,                 log ERROR and above

to syslog  (SYSLOG)
Category 2 -- com.intraware.logging.app           log WARN and above to
rolling file. (APP_FILE_LOG)
Category 3 -- com.intraware.logging.app.trace   log all to STDERR

With the attached properties file and test program, INFO and DEBUG
messages  are appended to APP_FILE_LOG.
Desired behavior occurs when the Threshold option is set
explicitly by uncommenting:

         # log4j.appender.APP_FILE_LOG.Threshold=WARN

Thanks for any help.

Randy


--
Randy Ballew, Senior Application Architect, Intraware, Inc.
    925.253.4507
    rballew@intraware.com


Mime
View raw message