[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

syslog-facility and logrotate



I was looking through logrotate configuration files /etc/logrotate.conf
and /etc/logrotate.d/ and noticed that there is no entry for rotating
arbitrary files in /var/log... yet they appear to be rotated regardless.
Why is this, and do I need to throw a file in to /etc/logrotate.d/ if
my program writes to a log file in /var/log?

Secondly, when should 'syslog-facility remove' be called?  I was thinking
to do it when the package is 'removed' so that it will free up a facility
without having to be 'purged.'


-- 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Matthew Danish                             email: mdanish@andrew.cmu.edu ;;
;; GPG public key available from:                'finger mrd@db.debian.org' ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



Reply to: