ARTIFACTORY: How to enable sidecar containers for tailing Artifactory logs in Kubernetes

AuthorFullName__c
Vignesh Surendrababu
articleNumber
000005748
FirstPublishedDate
2023-05-24T15:21:19Z
lastModifiedDate
2025-07-22

ARTIFACTORY: How to enable sidecar containers for tailing Artifactory logs in Kubernetes

This article demonstrated how to enable Sidecar containers for tailing Artifactory logs

Step 1: Edit the values yaml to add the list of logs file names to the side car container

Example:
artifactory:
 loggers:
   - access-audit.log
   - access-request.log
   - access-security-audit.log
   - access-service.log
   - artifactory-access.log
   - artifactory-event.log
   - artifactory-import-export.log
   - artifactory-metrics.log
   - artifactory-request.log
   - artifactory-service.log
   - frontend-request.log
   - frontend-service.log
   - metadata-request.log
   - metadata-service.log
   - router-request.log
   - router-service.log
   - router-traefik.log   

Note

It is also possible to add the tomcat catalina, localhost logs and it is required to add the below parameters.

artifactory:
 catalinaLoggers:
   - tomcat-catalina.log
   - tomcat-localhost.log


Step 2: Perform a helm upgrade and once the upgrade is completed, use the command “kubectl logs -f <pod-name> -n <namespace> -c <log-container-name>” to tail the live logs.