Logging configuration file

Logging in DataCleaner is based on Log4j, an open source logging framework by the Apache foundation. With log4j you can configure logging at a very detailed level, while at the same time keeping a centralized configuration.

There are three approaches to configuring logging in DataCleaner:

  1. The default logging configuration . This requires no changes to the standard distribution of DataCleaner. Log files will be generated in the log/datacleaner.log file.

  2. Specifying your own XML log configuration . This requires you to put a file named log4j.xml in the root directory of DataCleaner.

  3. Specifying your own property file log configuration . This requires you to put a file named log4j.properties in the root directory of DataCleaner.

The recommended way of doing custom configuration of DataCleaner logging is using the XML format. In the following sections we will explain this approach using examples. For more detailed documentation on Log4j configuration, please refer to the Log4j website .