Re: How to set a FileAppender to STDOUT?

2008-06-11 Thread Curt Arnold
On Jun 11, 2008, at 1:34 PM, Peter Steele wrote: What do I need to specify in the File parameter to mean STDOUT? I have this: ... which works in log4j but this just creates a file called System.out in log4cxx. What's the magic formula? The log4cxx API comments are a copy from the lo

Re: MESSAGEBUFFER.H COMPILATION PROBELM

2008-06-11 Thread Curt Arnold
On Jun 11, 2008, at 6:46 AM, srkraju wrote: While trying to compiling the sample program im getting the following error message (USING LOG4CXX_0.10.0, G++ VERSION 2.96, REDHAT LINUX VERSION AS3) In file included from /home/srkraju/Test/Log4Cxx/apache- log4cxx-0.10.0/src/main/include/log4cx

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: How to set a FileAppender to STDOUT?

2008-06-11 Thread Peter Steele
Our developers can set the log filename through an environment variable. I wanted to find an option that let them dump their logs to stdout, simply by using a "magic" filename, as you can do in log4j... -Original Message- From: Jacob L. Anawalt [mailto:[EMAIL PROTECTED] Sent: Wednesday, J

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: How to set a FileAppender to STDOUT?

2008-06-11 Thread Jacob L. Anawalt
Peter Steele wrote: Changing to ConsoleAppender isn't an option in our case unfortunately... Would you mind sharing why it's not an option? I just see the ends of writing to stdout and must be missing some critical difference. Thank you, -- Jacob Anawalt Gecko Software, Inc. [EMAIL PROTECTE

RE: How to set a FileAppender to STDOUT?

2008-06-11 Thread Peter Steele
>Here's my un-magic invocation: > > Changing to ConsoleAppender isn't an option in our case unfortunately... Thanks for the reply...

Re: How to set a FileAppender to STDOUT?

2008-06-11 Thread Jacob L. Anawalt
Peter Steele wrote: which works in log4j but this just creates a file called System.out in log4cxx. What's the magic formula? Here's my un-magic invocation: ... I hadn't thought to try this, so I looked it up for you. The API docs for FileAppender say: Note that the special values "System

RE: Segmentation fault log4cxx 0.10.0 on app exit (Solaris 8)

2008-06-11 Thread Allen Liu (allliu)
> -Original Message- > From: Jostein Tveit [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 3:30 PM > To: Log4CXX User > Subject: Re: Segmentation fault log4cxx 0.10.0 on app exit (Solaris 8) > > "Allen Liu (allliu)" <[EMAIL PROTECTED]> writes: > > > Initially, I used gcc 3.4.6

How to set a FileAppender to STDOUT?

2008-06-11 Thread Peter Steele
What do I need to specify in the File parameter to mean STDOUT? I have this: ... which works in log4j but this just creates a file called System.out in log4cxx. What's the magic formula?

MESSAGEBUFFER.H COMPILATION PROBELM

2008-06-11 Thread srkraju
While trying to compiling the sample program im getting the following error message (USING LOG4CXX_0.10.0, G++ VERSION 2.96, REDHAT LINUX VERSION AS3) In file included from /home/srkraju/Test/Log4Cxx/apache-log4cxx-0.10.0/src/main/include/log4cxx/lo gger.h:32, from bar.h:2,

Log4Cxx : Compilation error of Sample Program (messagebuffer.h)

2008-06-11 Thread srkraju
Recently I installed Log4cxx in Redhat AS3 (g++ version 2.96) Is Log4cxx0.10.0 is compatible with above versions? Please let me know. I am able to compile the Log4cxx0.10.0, and started writing a sample program. But I am getting so many compilation errors in messagebuffer.h. Please find the