sirs:
i installed logrotate.rpm im confused how rotation is automated
concerning my /var/squid/logs?
I have /etc/cron.daily/logrotate (logrotate contains this
line: /usr/sbin/logrotate /etc/logrotate.conf)
my logrotate.conf has the following lines:
#rotate log files daily
daily
#keep 4 weeks worth of backlogs
rotate 4
#create new (empty) log files after rotating old ones
create
#uncomment this if you want your log files compressed
compress
#RPM packages drop log rotation information into this directory
include /etc/logrotate.d (does this line actually work?!!!?)
#no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
#system-specific logs may also be configured here.
and also created /etc/logrotate.d/squid that has the following
lines:
/var/squid/logs/access.log{
daily
rotate 5
copytruncate
compress
notifemtpy
missingok
}
/var/squid/logs/cache.log{
daily
rotate 5
copytruncate
compress
notifemtpy
missingok
}
/var/squid/logs/store.log{
daily
rotate 5
copytruncate
compress
notifemtpy
missingok
}
concerns:
-im doubting that my /var/squid/logs arent rotated using line in
logrotate.conf which says: include /etc/logrotate.d/squid
-and if ever they are rotated, would it take place
(daily,weekly,hourly) depending on the /etc/logrotate.conf line:
#rotate log files daily or with my /etc/logrotate.d/squid line:
daily.
Im sorry for the long query..thanks.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL
PROTECTED]