rocketmq-client-cpp
rocketmq-client-cpp copied to clipboard
Log related issues
- The log directory cannot be configured
- The log file name should distinguish the year, month and day
- Delete all log files in the log directory, new logs will not generate new log files, and log files will not be generated until 0:00 the next day
- Delete all log files in the log directory, it will crash at 0 o'clock the next day, the cause of the crash is that the log file does not exist (it has been deleted)
- There is no limit on the size of the log directory
link #297 #314
Logging is currently a mess in this library. I do hope it will improve in the re_dev
branch.
Can these problems be solved?
Can these problems be solved?
You can use re_dev
branch, it provide LoggerConfig& GetDefaultLoggerConfig();
function to expose config of default logger which be used to configure default logger.