RE: Using the syslog appender in log4cxx

2008-06-11 Thread Peter Steele
>Any luck with this? I will post the full configuration files for syslog and >log4cxx as well as my sample program if it might help. No, I never did get LOCAL7 to work

Re: Using the syslog appender in log4cxx

2008-06-11 Thread Jacob L. Anawalt
Jacob L. Anawalt wrote: Peter Steele wrote: Did you specify "LOCAL7" as the facility in the config file? Yes. Any luck with this? I will post the full configuration files for syslog and log4cxx as well as my sample program if it might help. -- Jacob Anawalt Gecko Software, Inc. [EMAIL PR

Re: Using the syslog appender in log4cxx

2008-06-09 Thread Jacob L. Anawalt
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?

RE: Using the syslog appender in log4cxx

2008-06-09 Thread Peter Steele
>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?

Re: Using the syslog appender in log4cxx

2008-06-09 Thread Jacob L. Anawalt
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

Re: Using the syslog appender in log4cxx

2008-06-06 Thread Curt Arnold
On Jun 6, 2008, at 10:51 AM, Dale King wrote: OK, I see now why it is only cosmetic. It only ends up being that way because the strings differ only in a character that is not a letter. That is a cumbersome way to do case insensitive comparison. It would be a lot easier to lose the third parame

Re: Using the syslog appender in log4cxx

2008-06-06 Thread Dale King
OK, I see now why it is only cosmetic. It only ends up being that way because the strings differ only in a character that is not a letter. That is a cumbersome way to do case insensitive comparison. It would be a lot easier to lose the third parameter and do: if (arg1.size() != arg2.size() ) retu

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Curt Arnold
On Jun 5, 2008, at 11:10 PM, Dale King wrote: I saw that when you made the checkin, but I don't understand why you think it is only a cosmetic bug. It seems to me that if you were trying to configure a syslog appender for LOCAL2 for instance it would call setFacility with LOCAL2 as the facilit

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
On Thu, Jun 5, 2008 at 10:18 PM, Curt Arnold <[EMAIL PROTECTED]> wrote: > > On Jun 5, 2008, at 12:55 PM, Dale King wrote: >> >> That is a bug in version 0.10.0 Local 2 and higher was not implemented >> correctly. See this difference to see the cut-and-paste error: >> >> >>

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Curt Arnold
On Jun 5, 2008, at 12:55 PM, Dale King wrote: That is a bug in version 0.10.0 Local 2 and higher was not implemented correctly. See this difference to see the cut-and-paste error:

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
On Thu, Jun 5, 2008 at 2:00 PM, Peter Steele <[EMAIL PROTECTED]> wrote: >>That is a bug in version 0.10.0 Local 2 and higher was not implemented >>correctly. See this difference to see the cut-and-paste error: >> >> appender.c

RE: Using the syslog appender in log4cxx

2008-06-05 Thread Peter Steele
>That is a bug in version 0.10.0 Local 2 and higher was not implemented >correctly. See this difference to see the cut-and-paste error: > > > >It has already been fi

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
l Message- > From: Peter Steele [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 6:30 AM > To: Log4CXX User > Subject: RE: Using the syslog appender in log4cxx > >>While this version is no longer supported by the developers, the > following >>syslog ap

RE: Using the syslog appender in log4cxx

2008-06-05 Thread Peter Steele
prefer to have log4cxx send log messages to the same LOCAL7 log file that we use for our Java apps. Any suggestions on how to accomplish this? -Original Message- From: Peter Steele [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 6:30 AM To: Log4CXX User Subject: RE: Using the sys

RE: Using the syslog appender in log4cxx

2008-06-04 Thread Peter Steele
>While this version is no longer supported by the developers, the following >syslog appender works on my Debian systems running 0.9.7: Thanks for the xml snippet, I'll give this a try. And we may very well upgrade to the latest version, but we have 65+ machines with 0.9.7 so it's a bit of a job t

Re: Using the syslog appender in log4cxx

2008-06-03 Thread Jacob L. Anawalt
Peter Steele wrote: anything appearing in the main syslog file for these applications. What other magic do I need to do in log4cxx to get our apps to log to our syslog host? We are using the 0.9.7 release. While this version is no longer supported by the developers, the following syslog app