Versions Compared

Key

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

...

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 This extension uses Spring Boot extensions (defaults.xml, console-appenders.xml) and is registered via logback-spring.xml as one of recommended way. If you want to use custom logback configuration, 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. To configure different implementation of logging platform, see Spring Boot documentation.