Package apps.util

Class Log4JUtil


public class Log4JUtil
extends Object
Common utility methods for working with Log4J.

Two system properties influence how logging is configured in JMRI:

The logging control file. If this file is not an absolute path, this file is searched for in the following order:
  1. JMRI settings directory
  2. JMRI installation (program) directory
If this property is not specified, the logging control file default.lcf is used, following the above search order to find it.
The directory for storing logs. If not specified, logs are stored in the JMRI preferences directory.