[syslog-ng]logrotate question (not working with syslog-ng)...
Jacob Steinberger
syslog-ng@lists.balabit.hu
Mon, 7 Apr 2003 18:27:10 -0400 (EDT)
In your logrotate settings, did you send a restart to syslog-ng or a HUP
to it? You need to do one of the two because the INODE on the file changes
and syslog-ng isn't built to follow INODEs...
Jacob
> For some reason every time logrotate rotates
> /var/log/messages, my syslog-ng stops working.
>
> The permissions look ok..
>
> [office root /var/log] # ls -l mess*
> -rw------- 1 root root 0 Apr 6 04:02 messages
> -rw------- 1 root root 378135 Apr 7 15:15 messages.1
> -rw------- 1 root root 908864 Mar 31 15:50 messages.2
> -rw------- 1 root root 1795514 Mar 25 14:06 messages.3
> -rw------- 1 root root 945373 Mar 19 11:31 messages.4
> -rw------- 1 root root 7 Apr 7 14:24 messages.offset
>
> Why does logrotate cause syslog-ng to not put any new stuff in
> /var/log/messages?
>
> Chris
>
> --
> _______________________________________
>
> Dr. Christian Seberino
> SPAWAR Systems Center San Diego
> Code 2872
> 49258 Mills Street, Room 158
> San Diego, CA 92152-5385
> U.S.A.
>
> Phone: (619) 553-9973
> Fax: (619) 553-6521
> Email: seberino@spawar.navy.mil
> _______________________________________
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html