Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following parameters in the config.cfg file are related to logging:

ParameterDescriptionExample
App.DailyBackup.Enable

Enables daily backup

Valid values: true/false

App.DailyBackup.Enable = true

App.DailyBackup.SourceThe path to the directory which needs to be backed up

App.DailyBackup.Source = logs/

App.DailyBackup.DestinationThe path to the backup directory

App.DailyBackup.Destination = logs/backup/

App.DailyBackup.Exclude

File(-s) which needs to be excluded from the backup

Note

This parameter is very useful if you work with start/stop schedule configuration.
In order to avoid request of information resend about all the deals from TOF Server by ReutersBridge during its restart, ReutersBridge  needs to remember the information about the last deal.
So, using App.DailyBackup.Exclude parameter you can exclude files, that keep this information, from being backup'ed.  

App.DailyBackup.Exclude = reuters.bridge.log;storage.xml

Configuring log4cxx.properties file

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.

...