ReutersBridge provides the possibility to set up logging and logs rotation by configuring its own config.cfg and/or log4cxx.properties file.
The following parameters in the config.cfg file are related to logging:
Enables daily backup
Valid values: true/false
App.DailyBackup.Enable = true
|App.DailyBackup.Source||The path to the directory which needs to be backed up|
App.DailyBackup.Source = logs/
|App.DailyBackup.Destination||The path to the backup directory|
App.DailyBackup.Destination = logs/backup/
File(-s) which needs to be excluded from the backup
App.DailyBackup.Exclude = reuters.bridge.log;storage.xml
In addition, the ReutersBridge package contains the log4cxx.properties configuration file from the log4cxx logging framework for C++ (patterned after Apache log4j). It provides a huge number of possibilities to configure logging and logs rotation.
The full documentation can be found here: http://logging.apache.org/log4cxx/usage.html
The section about logs rotation is here: http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1_daily_rolling_file_appender.html