--- Nyoman D <[EMAIL PROTECTED]> wrote:
>
> Hello newbie,
>
> Thursday, July 14, 2005, 2:25:09 PM, you wrote:
>
> > saya sudah berhasil mengakifkan log untuk
> iptables,
> > saya beri nama /var/log/firewall
>
> > karena file tsb semakin lama semakin besar gimana
> ya caranya
> > untuk merotate file log tsb sehingga dapat di
> rotate seperti file2 log
> > lainnya ?? (maillog,message-log,secure,syslog)
>
> > newbie
>
>
> buat file firewall di /etc/logrotate.d/ yang isinya:
>
> /var/log/firewall {
> weekly
> rotate 5
> copytruncate
> compress
> notifempty
> missingok
> }
>
> setelah itu jalanin logrotate -f dan lihat di
> /var/log/ seharusnya
> akan ada file /var/log/firewall.1.gz
> apa arti dari weekly rotate 5 copytruncate dllnya
> silahkan baca man logrotate
missingok teh apa yah?rasanya aneh....
> Nyoman.
Cyd
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis