Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
Logging With Multiple Processes

If you have multiple applications that all log to the same file, it is often desirable that the file that these applications write to will roll over when required. In order for that to happen, Log4cxx provides the log4cxx::rolling::MultiprocessRollingFileAppender that will check the size of the file when writing to the file and roll it over appropriately.

This is an optional feature, and thus must be explicitly enabled when building Log4cxx. This feature is also only supported on Linux at the moment. Because this feature is non-standard, it may not work properly in all circumstances.