Tuesday, October 09, 2001, 8:37:26 PM, Dhidhel wrote:
>> > pake logrotate dong
>>
>> Caranya ???
> logrotate [-dv] [-f|--force] [-s|--state file] con-
> fig_file+
kok mirip bahasa mesin =)
ditontok ae ndik
man logrotate.
yang mau di rotate kan /var/log/message ya ?
buka mc,
lihat file /etc/logrotate.d/syslog
tambahkan ini, kalo belum ada.
/var/log/messages {
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
lihat lihat juga di /etc/logrotate.conf
kalau ternyata sudah ada, dipantau saja, pertambahan log/message nya seberapa
cepat, kalau tiap menit tambah terus. perlu dicurigai =).
btw, dari df ke logrotate ? =)
regards,
aris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]