Date: Thu, 6 Dec 2001 08:20:51 -0800 (PST) From: Mikko Tyolajarvi <mikko@dynas.se> To: johnhoover@home.com Cc: questions@freebsd.org Subject: Re: newsyslog - backup logfile question Message-ID: <200112061620.fB6GKpd75928@mikko.rsa.com> References: <NCBBIAMNAKDKFJIIGNPKIEDOGMAA.barry.byrne@wbtsystems.com> <001c01c17e66$52467e00$c801a8c0@internal.unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.questions you write: >ok, this is a little off (but at least near) topic, >has anyone considered using "logrotate" from the Linux world. >It allows for a pre and post section for commands to handle most >of what I think is being considered here. newsyslog(8) rotates logs. What else would you like it to do? >and something else that has struck me as odd, (coming from a Linux world) >why is there not a consistent centralized log rotating function within >FreeBSD? >question comes from finding "*.old", "*.yesterday", "*.1" log files. There is. man newsyslog, more /etc/newsyslog.conf The ".today" and ".yesterday" files are not rotated log files per se, they represent "state" used by some scripts run daily, to catch changes during the last 24hrs. Don't have any ".old" on any of my boxes. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112061620.fB6GKpd75928>