Dale King wrote:
On Thu, Jun 5, 2008 at 2:00 PM, Peter Steele <[EMAIL PROTECTED]> wrote:
We're still stuck on 0.9.7, so this may be the motivation we need to
upgrade....

0.9.7 does not have the bug I described. Not sure why it wouldn't work
with 0.9.7


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.

Here are the details and results:

Debian 4.0, liblog4cxx9c2a 0.9.7-6 (log4cxx), bsdutils 1:2.12r-19etch1 (logger), sysklogd 1.4.1-18 (syslog)

#syslog.conf:
local7.*                        /var/log/local7.log

$ logger -p local7.info test
$ ./a.out
$ cat /var/log/local7.log
Jun  9 11:26:08 localhost jacob: test
Jun  9 11:26:35 localhost a.out: 6    WARN  root  - 3
Jun  9 11:26:35 localhost a.out: 6    WARN  MyApp  - 4

--
Jacob Anawalt
Gecko Software, Inc.
[EMAIL PROTECTED]
435-752-8026

Reply via email to