I do something very similar in my batch trail using OPC/E. I keep 2 copies of /etc/syslog.conf, syslog.conf.a, syslog.conf.b, which contain log name versions ending in either in .a or .b: *.alert /dev/console auth.* /tmp/auth.log.a *.err /tmp/error.log.a daemon.* /tmp/server.log.a *.*;auth.none;daemon.none;local7.debug /tmp/trashcan.log.a . The first step overlays /etc/syslog.conf with the next version, then I issue the kill -HUP to force syslogd to reread /etc/syslog.conf. We use SAR here so the remainder of the job copies the various logs over to JES2 and then to SAR. > On Date: Thu, 1 May 2008 07:25:55 -0500 > John Mckown wrote
> Subject: Re: ftp - syslogd - rotate > I am not sure about 1.7. On z/OS 1.8, my /etc/syslog.conf file looks > like: > kern.* /var/log/kern.%Y-%m-%d > user.* /var/log/user.%Y-%m-%d > mail.* /var/log/mail.%Y-%m-%d > news.* /var/log/news.%Y-%m-%d > uucp.* /var/log/uucp.%Y-%m-%d > daemon.* /var/log/daemon.%Y-%m-%d > auth.* /var/log/auth.%Y-%m-%d > cron.* /var/log/cron.%Y-%m-%d <snip> > So that 1 second after midnight, the "kill" is issued. This causes > syslogd to reread the /etc/syslog.conf and as a side effect pick up the > new name. %Y is replaced with the 4 digit year, %m is replaced by the 2 > digit month, %d is replaced by the 2 digit day. You can then run some > other process to clean up old files in /var/log Jim Holloway - MetLife The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html