-
Hi, I am trying to implement a small binarie that rotates logs using multiprocessrollingfileappender.h in C++ std20, it should create a log and then rotate it every 0.8mb, I want to execute multiple mains and have the log as a shared resource. OS: Ubuntu 22.04.5 LTS, 64-bit. make file:
main.cpp:
propertiesfile:
I will really appreciate your help and support. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This issue was fixed in Log4cxx 1.4.0. You will need to build Log4cxx 1.4.0 yourself defining LOG4CXX_MULTIPROCESS_ROLLING_FILE_APPENDER=on as 1.4.0 will not yet be available in distribution releases. |
Beta Was this translation helpful? Give feedback.
This issue was fixed in 1.4.0. You need to swithc to 1.4.0.