unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol

Home Page:http://www.unimrcp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAX_LOG_FILE_SIZE for log rotation is not working

andrenatal opened this issue · comments

The constant MAX_LOG_FILE_SIZE here https://github.com/unispeech/unimrcp/blob/master/libs/apr-toolkit/include/apt_log.h#L32 is not working.

The only way to change the size of the log files was hardcoding the maximum file size here: https://github.com/unispeech/unimrcp/blob/master/libs/apr-toolkit/src/apt_log.c#L1110 and replace file_data->settings.max_size by the desired value.

Have you tried to change the log file size from the configuration file logfile.xml?

Thanks.