Using a Custom Logback File
To change the logging behavior, create a new Logback file at
$HOME/.openig/config/logback.xml, and restart IG. The custom Logback file overrides the default configuration.
To take into account edits to
logback.xml, stop and restart IG, or edit the
configuration parameter to add a scan and an interval:
<configuration scan="true" scanPeriod="5 seconds">
logback.xml file is scanned after both of the following criteria are met:
The specified number of logging operations have occurred, where the default is 16.
If the custom
logback.xml contains errors, messages like these are displayed on the console but log messages are not recorded:
14:38:59,667 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@20:72 ... 14:38:59,690 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction ...