Send the sources, and especially the configuration files :)
If the list doesn't support attachments, send them to my e-mail address
(stoyan at pirinsoft dot com).
See WFMO docs for info how to wait for more than MAXIMUM_WAIT_OBJECTS
handles, it's not trivial, but certainly doable.

Thanks,
Stoyan

-----Original Message-----
From: Arunkumar [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 03, 2006 12:19 AM
To: 'Log4CXX User'
Subject: Log4cxx is in :)

Hi guys,

I gave a presentation on log4cxx today and everybody loved the concept. Good
job guys and do release it soon. :)
I have 3 demo apps I wrote for the presentation. Language: C++ /compiler -
msvc7.1/ OS: Windows 

App1 demonstrates instantiating a single logger object and sending the
outputs to multiple appenders - shows both static and dynamic configuration
(xml) 
App2 demonstrates class hierarchy and additivity - shows both static and
dynamic configurations (xml) with multiple appenders
App3 demonstrates multi-threading - a max of 64 threads writes to a single
file OR a max of 64 threads writes to individual files (without crashing) :)
The limit is 64 because of a WaitForMultipleObjects limitation.

The apps are very simple but I guess they are effective in proving the
concept. 
Let me know if you guys are interested and I will send you the source files
+ project files.

Issues:
1) Telnet appender crashed during run-time when a layout is not specified.
The problem is similar to OutputDebugAppender.
   This time it crashed at a different point though. I was setting
additivity flag to false and it crashed here.

   File: logger.cpp

   void Logger::setLevel(const LevelPtr& level)
   {
        this->level = level;
   }

Got side-tracked and could not test the Japanese Unicode character output.
Hopefully should get back to it next week as time permits.

Thanks
Arun



Reply via email to