Edit the $JFROG_HOME/artifactory/etc/artifactory/logback.xml file to increase log verbosity, the example shown below creates an appender with a DEBUG verbosity for the filestore/binarystore mechanism named
‘artifactory-filestore.log’
in the logs file:
Note: this process does not require Artifactory to be restarted.
‘artifactory-filestore.log’
in the logs file:
Note: this process does not require Artifactory to be restarted.
<appender name="filestore" class="ch.qos.logback.core.rolling.RollingFileAppender"> <File>${log.dir}/artifactory-filestore.log</File> <rollingPolicy class="org.jfrog.common.logging.logback.rolling.FixedWindowWithDateRollingPolicy"> <FileNamePattern>${log.dir.archived}/artifactory-filestore.%i.log.gz</FileNamePattern> <maxIndex>10</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <MaxFileSize>25MB</MaxFileSize> </triggeringPolicy> <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder"> <layout class="org.jfrog.common.logging.logback.layout.BackTracePatternLayout"> <pattern>%date{yyyy-MM-ddTHH:mm:ss.SSS, UTC}Z [jfrt ] [%-5p] [%-16X{uber-trace-id}] [%-30.30(%c{3}:%L)] [%-20.20thread] - %m%n</pattern> </layout> </encoder> </appender> <logger name="org.artifactory.addon.filestore" additivity="false"> <level value="DEBUG"/> <appender-ref ref="filestore"/> </logger>