ULTRIX Log files

(Under construction)

Log files

  1. /etc/syslog.conf defines the system logging directories, e.g.:
     
    mail.debug              /var/adm/syslog.dated/mail.log
    
  2. ! /opt/bin/logrotate.sh
    is a shell script to rename previous versions of the above logfiles by appending a version number running from 0 through 5. This way the last week's syslogs are kept. Use
     
    crontab -e                     # vi /usr/spool/cron/crontabs/root 
    0 3 * * * /opt/bin/logrotate.sh  
    
    to schedule this at 3 AM.

Last update: 31-Dec-2006, M.Kraemer