HowTo - LogRotate ...

Discussion on the ACID distribution package
K5TRY
Posts: 36
Joined: Fri Mar 09, 2012 8:25 am
Location: Springdale, AR

HowTo - LogRotate ...

Postby K5TRY » Fri Jun 28, 2013 5:11 am

HowTo - LogRotate

# see "man logrotate" for details
# rotate log files weekly
daily

# keep 4 week worth of backlogs
rotate 1

# create new (empty) log files after rotating old ones
nocreate

# uncomment this if you want your log files compressed
#compress

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
minsize 1M
create 0664 root utmp
rotate 1
}

/var/log/btmp {
missingok
monthly
minsize 1M
create 0600 root utmp
rotate 1
}

# system-specific logs may be also be configured here.
;(;)
http://qsl.net/k5try
;(;)

Return to “ACID Distribution”

Who is online

Users browsing this forum: No registered users and 1 guest