Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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:

custom-logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="true">
    <include resource="ohf-logback.xml" />
</configuration>


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

  • No labels