Versions Compared

Key

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

Logging is one of key glance of monitoring.

OpenHub uses by default logback SLF4J implementation (it is also default implementation for Spring Boot, see config examples). There is ohf-logback.xml extension which is logback configuration to allow inject this into your custom logback configuration. For this only you have to define logging.config property to define location of the logging configuration file, for example classpath:custom-logback.xml, and create own configuration:

...

If logback is used, it is possible to configure logging via externalized configuration approach, because OpenHub logback configuration wraps property keys.

...