Bad defaults for logrotate in PureMessage for UNIX

From MyWiki

Revision as of 18:30, 28 February 2015 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Quarantine configuration is in /opt/pmx6/etc/pmx.d/quarantine_expire.conf

Original:

# Values for pmx-store-expire
<quarantine_expire>
    archive = 1
    expire_time = 2w
    exec = ""
    archive_dir = home/archive
</quarantine_expire>

New:

# Values for pmx-store-expire
<quarantine_expire>
    archive = 0				<———— changed to not to archive
    expire_time = 3w			<———- expiration upped to 3 weeks
    exec = ""
    archive_dir = home/archive
</quarantine_expire>

Logrotate (puremessage) /opt/pmx6/etc/logrotate.d/pmx_log

/opt/pmx6/var/log/pmx_log {
    daily                               <—— global default is weekly
    rotate 7                            <—— global default is 4
    missingok
    delaycompress
    compress                            
    nocreate
}
Personal tools