Re: Definitive logrotate solution?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wells Oliver <wellsoliver@xxxxxxxxx> writes:
> How do you ensure you're not keeping logs from 35+ days ago, or whatever?
> Just a find -mtime +10 -exec rm {}\; kind of thing?

Well, that depends on what you want to do.  I like to choose the log file
names so that they'll automatically be reused once a week or month.

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux