Re: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-07 Thread Curt Arnold
On Dec 7, 2004, at 6:20 AM, Prosenjit Sinha wrote: Thanx Curt, The appender class which I am going to create will only be used for obtaining the logging string from the OStream *os variable(I have found out only this mechanism by which I can get the logging string in my own classis there any o

RE: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-07 Thread Prosenjit Sinha
Thanx Curt, The appender class which I am going to create will only be used for obtaining the logging string from the OStream *os variable(I have found out only this mechanism by which I can get the logging string in my own classis there any other method for it).This logging string will be use

Re: Are there any write-up on SocketAppender other than JavaDoc?

2004-12-07 Thread Curt Arnold
On Dec 6, 2004, at 9:28 PM, Jeff Lynn wrote: Hi,   I am using ConsoleAppender and FileAppender and is looking to learn about how to use SocketAppender.  Are there any write-up or example code for the SocketAppender "server?" to receive the log message?  What is the template for this SocketAppend

Are there any write-up on SocketAppender other than JavaDoc?

2004-12-07 Thread Jeff Lynn
Hi,   I am using ConsoleAppender and FileAppender and is looking to learn about how to use SocketAppender.  Are there any write-up or example code for the SocketAppender "server?" to receive the log message?  What is the template for this SocketAppender listener to receive the log msg?   jml Do y

Re: Is it safe to use log4cxx in multi-threaded environement?

2004-12-07 Thread Jeff Lynn
Yes, all worker thread are created as thread.   I implemented the worker class in a separate compilable unit and instantiated it by wrapping it in a proc via the Windows CreateThread api.  I did that because i want tighter control of the thread instead of subclass it from the CWinThread.   Anyway,