Edgar Cole
asked on
Managing Logs with the Syslog Daemon in AIX
Can I use the syslog daemon to manage rotation for any file? For example, if I specified a facility of all (*) and a level of none, could I "trick" the syslog daemon into rotating the corresponding destination? For example:
*.none /do/not/write/syslog/messa ges/here rotate files 12 ...
*.none /do/not/write/syslog/messa
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
While I don't have an AIX box to look at, every Linux/Unix system I've used has used cron to schedule a shell script or task to rotate logs. You could modify that process to rotate any arbitrary file, or write your own script and add it to cron's list.