Displaying 1 result from an estimated 1 matches for "cisco_debug".
2005 Dec 19
1
logrotate. Bug or am I blind?
Hello!
I having a problem with the permissions of some of my logfiles.
It seems that when the files are rotated, the user/group is root root and the permissions are rw for root only.
more info hereunder:
The strange thing is that sometimes it works for one file...
/var/log/cisco_acl.log /var/log/cisco_debug.log {
    rotate 1
    notifempty
    #daily
    size 1k
    create 0640 root noc
    postrotate
        /bin/kill -HUP `cat /var/run/syslog-ng.pid 2> /dev/null` 2> /dev/null || true
    endscript
}
[root at syslog-b11 log]# ls -l cisco*
-rw-r-----  1 root noc  2816 Dec 19 11:06 cisco_acl.lo...