logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob L. Anawalt" <janaw...@geckosoftware.com>
Subject Re: Using the syslog appender in log4cxx
Date Mon, 09 Jun 2008 18:26:19 GMT
Peter Steele wrote:
>> I was able to get local7 to work on 0.9.7 using a simple logging test
> program 
>> (a.out) and the syslog appender snippet I included earlier. I added a
> local7 
>> configuration line to my syslog.conf and reloaded that.
> 
> Did you specify "LOCAL7" as the facility in the config file?

Yes. I used logger to verify that only local7.* went to local7.log, and then I 
verified that my simple log4cxx test program's output went to /var/log/daemon 
with DAEMON and to /var/log/local7.log with LOCAL7.

<param name="Facility" value="LOCAL7" />

-- 
Jacob Anawalt
Gecko Software, Inc.
janawalt@geckosoftware.com
435-752-8026

Mime
View raw message