How to add the debug loggers in logback.xml file

ARTIFACTORY: How To Add Debug Loggers in Artifactory

AuthorFullName__c
Prakriti Vishwakarma
articleNumber
000005744
ft:sourceType
Salesforce
FirstPublishedDate
2023-05-24T10:36:32Z
lastModifiedDate
2023-05-24
VersionNumber
2
The logback.xml file serves as the configuration file that defines the logging behavior for the Access, Artifactory services. By incorporating additional loggers in the logback.xml file, log verbosity can be enabled.

The logback.xml file can be found at the following locations based on the specific microservice:

Artifactory:
$JFROG_HOME/artifactory/var/etc/artifactory/logback.xml
Access:
$JFROG_HOME/artifactory/var/etc/access/logback.xml
Mission Control:
$JFROG_HOME/artifactory/var/etc/mc/logback.xml

These paths can be referenced to locate the respective logback.xml files for Artifactory, Access, and Mission Control microservices.

In certain situations, it may be necessary to update the logback.xml file to enable debug mode. To include the loggers provided by JFrog in the logback.xml file, please follow the steps below:
  1. Navigate to the bottom of the logback.xml file until you reach the closing tag </configuration>.
  2. Prior to the closing </configuration> tag, insert the debug loggers.

Example:

User-added image