Versions Compared

Key

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

...

  1. A default logging configuration is now bundled into OLE FS
  2. All logging is handled at runtime via Log4j
  3. Any logging added to the application from now on should use SLF4J
  4. As code gets updated, log4j logging statements should get replaced with SLFJ logging statements
  5. To This means logging will work out of the box without needing to create and configure log4j.
  6. You can still override the default log4j configuration if desired
    1. set the property ole.fs.log4j.override=true
    2. create the file ~/.kuali/ole/fs/log4j.properties containing your custom settings
  7. All logging is handled at runtime via Log4j
  8. Any logging added to the application from now on should use SLF4J
  9. As code gets updated, log4j logging statements should get replaced with SLFJ logging statements

Properties

Property

Default Value

Description

olefs.configuration

None

If this system property is set, properties are loaded from the location it points to. Properties supplied here, override internal properties

ole.fs.runtime.property.expansion=true/false

true

If true, property expansion is performed at runtime instead of at build time. The resource classpath:olefs-default.properties is loaded if this property is set to true

ole.fs.log4j.override=true/false

false

Set this to true if you want to override the default log4j.properties supplied with the application. This also allows you to alter the log4j configuration at runtime without restarting the application. The log4j.properties file supplied here is monitored by a background thread. It is automatically reloaded when changes are detected.