log4cxx Visual Studio/Windows memory cleanup

2010-10-18 Thread Noam Rathaus
Hi, I used log4cxx since 2003, using several versions of Visual Studio, when we upgraded to Visual Studio 2010, a memory leak/cleanup issue has appeared. When the program terminates a memory leak can be seen. The memory leak is from the log4cxx objects. Even though I am using smart pointers whe

Re: get method name of logging caller...

2010-10-18 Thread Thorsten Schöning
Guten Tag Curt Arnold, am Montag, 18. Oktober 2010 um 15:14 schrieben Sie: > If you are able to see file and line, but not class and method, > then explore extending __LOG4CXX_FUNC__ to support your compiler. Thanks for the hint, but even if I do that, I just get what %l would print, right? It se

Re: get method name of logging caller...

2010-10-18 Thread Curt Arnold
If you are using the LOG4CXX_DEBUG and similar macros and some of the more popular compilers, then you hopefully will get class and method information. If you transliterated java code and are just doing "logger.debug("Msg"), then that information is not available to you. The performance issue