I am using the latest version of Syslog-NG (syslog-ng 1.6.0rc1) to do
all of my logging from the local system, all of our Cisco PIX
firewalls a Nortel Contivity and a Cisco Concentrator.
I am having the messages sent to a variety of non default files so
that I can monitor certain aspects of each device type. I have also
created some scripts that so that I can have users check various
aspects of the log files.
The problem is this: When I add the new file to logrotate.conf and
tell it to "create 0644", it does not do this. Logrotate does rotate
and compress the file, but it does not create the permissions I told
it to.
The entry is as follows:
/var/log/syslog {
daily
create 0644 root root
rotate 16
If I add the "create" section to a defined log file, such as "secure",Quote:}
it changes the permissions correctly.
Does anyone have any ideas to help me out. I would appreciate any
advice you can give.
Thanks
Chris