By default, the tomcat logs are written to $JFROG_HOME/artifactory/var/log/tomcat/ folder.
To change the default Tomcat log folder path, you'll need to modify the logs configuration file located at $JFROG_HOME/artifactory/app/artifactory/tomcat/conf/logging.properties. You should adjust the values of the "1catalina.org.apache.juli.FileHandler.directory" and "2localhost.org.apache.juli.FileHandler.directory" fields in the file to reflect the desired log folder path as follows:
1catalina.org.apache.juli.FileHandler.directory = <my/folder/path> 2localhost.org.apache.juli.FileHandler.directory = <my/folder/path>
*It is recommended to make a backup of this file before modifying it.
*Restart Artifactory for the change to take effect.
Refer to the Tomcat documentation for more information about the FileHandler class.
*Please make sure that the new log directory has sufficient permissions for Artifactory to write the logs.
*Please be aware that after an upgrade, the entire ‘$JFROG_HOME/artifactory/app’ directory in general and the logging.properties file in particular will be overwritten, requiring the values to be changed again.