From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653643321835.tru64-unix-managers.marc@archive.invalid> From: Xavier Mertens Date: Mon, 19 Nov 2001 09:07:37 +0000 To: tru64-unix-managers Subject: [Summary] Log file rotation? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653643321835 Thanks to all of you! >From the syslog.conf man page: "The syslogd daemon automatically creates a new date directory every 24 hours and also when you boot the system. The current directory is a link to the latest date directory. To get the latest logs, you only need to refer- ence the /var/adm/syslog.dated/current directory." Also, 'kill -HUP ' performs the file rotation. I just added this command in the root's crontab. Regards, Xavier -- Xavier Mertens &Wanadoo Belgium - A subsidiary of France Telecom Head of NOC XM1-6BONE "Contrary to popular belief, Unix is userfriendly. It just XM3-RIPE happens to be selective about who it makes friends with" echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc On Mon, 19 Nov 2001, Xavier Mertens wrote: > Hi Admins, > > This is a stupid question, but where is defined the daily log file > rotation on a Tru64 system? > > I just found in the root's crontab: > > 40 4 * * * find /var/adm/syslog.dated/* -depth -type d -ctime +7 -exec rm -rf {} \; > > Regards, > Xavier > > -- > Xavier Mertens &Wanadoo Belgium - A subsidiary of France Telecom > Head of NOC > XM1-6BONE "Contrary to popular belief, Unix is userfriendly. It just > XM3-RIPE happens to be selective about who it makes friends with" > > echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc > >