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