Configure the logback library

JFrog Platform Administration Documentation

Content Type
Administration / Platform

Edit the logback xml file in the $JFROG_HOME/<product>/var/etc/<microservice>/logback.xml file. For example, to configure Artifactory to use syslog, edit the $JFROG_HOME/artifactory/var/etc/artifactory/logback.xml file.

  1. Add the following syslog appender to the logback xml (next to the other appenders)

    <appender name="SYSLOG" class= "">
     <suffixPattern>[%thread] %logger %msg</suffixPattern>
  2. Add the following appender to the output:

     <level value="warn"/> 
     <appender-ref ref="CONSOLE"/> 
     <appender-ref ref="FILE"/>
     <appender-ref ref="SYSLOG"/>
  3. Save the file, and restart the service.