How can I change the number of days of Nexus Repository 3 audit logs retained?

You can configure the number of days worth of audit logs that are retained.

Under $install/etc/logback/logback.xml, you can change the maxHistory value from its default 90 to a larger value for the auditlogfile appender. The entry will look like this:

  <appender name="auditlogfile" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <filter class=""/>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">

You will need to restart Nexus Repository for this change to be picked up.

Have more questions? Submit a request


Article is closed for comments.