Václav Haisman

Results 212 comments of Václav Haisman

What do the other threads do? Is this happening during shutdown of the process?

Is this happening during after fork()?

Were you able to diagnose and fix this issue?

There is a minimum file size that you cannot go below. It is [200 KiB](https://github.com/log4cplus/log4cplus/blob/06d9b65b518f203ee01166c613e2662b6200e862/src/fileappender.cxx#L61).

RollingFileAppender is only for rolling by size. If you want time based rolling, you would use TimeBasedRollingFileAppender. But TimeBasedRollingFileAppender does not roll by size.

I think all three of your suggested approaches are incorrect. What you are supposed to do in your library code is to get `Logger` (one or more instances) and use...

Multiple appenders can be attached to `AsyncAppender`. Combination of both size and time rollover is not provided by any of the appenders. `AsyncAppender` will not help with this. You can...

Can you try with `log4cplus::Initializer initializer;` only in `main()`? If it never stops, can you obtain call stacks of all threads?

Honestly, I do not know what to do about these issues. Is this even solvable in general? I am open to suggestions.

At this point, the only way I see is to allow users to do things but not do anything in log4cplus itself. Allow people to provide instance of the `ThreadPool`...