Václav Haisman

Results 212 comments of Václav Haisman

> With static library, I have to call threadCleanup() in thread regardless of using log4cplus or not, right? Yes, basically.

I suggest you abandon the idea of using static C run time library through `/MT` or `/MTd` and always use DLL C run time library, both in log4cplus and your...

In the end, do whatever works. But what works will be a subset of what is possible. You have to be consistent. AFAIK, you should be able to use MSVC...

> This becomes a serious issue when two (related but different) processes share a config file defining their respective appenders and are run by different users. Whichever process starts first...

I don't get it. Are you saying you are using different loggers and appenders in process A and process B but you are sharing the same configuration file between process...

My suggestion is to change your configuration for the logging. You can use environment variables in your configuration file to make the log file names unique between different processes and/or...

Well, we could make the two strings configurable somehow.

I do not know what you mean by incomplete. As for (2), the `LOG4CPLUS_TRACE` just logs an event at TRACE log level. You logging configuration probably does not allow lower...

I know about this. I just couldn't decide what to do about it. I should probably replace the `throw;` with just `terminate()` call because if that situation happens, it means...