Link to home
Start Free TrialLog in
Avatar of Edgar Cole
Edgar ColeFlag for United States of America

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/messages/here rotate files 12 ...
Avatar of woolmilkporc
Flag of Germany image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jlevie

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.