Thank you for the valuable comments.
I found the cause of my problem.
I have been working on a project that runs on both Linux and MS Windows.
Well, the default for logchar is wchar_t on MS Windows while UTF8 on Linux.
It's my fault that I did not double check the header file, log4cxx.h
I modif
Hello,
I am experiencing a link error when I am trying to add a new logger on the fly.
The code snippet is shown below and it works fine on Linux.
But running on MS Windows causes a link error.
When I commented out two lines indicated by ===>, I don't see any link error.
Changing the PatternLayo