[syslog-ng] syslog-ng 1.1.24

Rob Cermak cermak@ahab.Rutgers.EDU
Thu, 10 Jun 1999 13:17:55 -0400 (EDT)


That patch is holding.  Logging seems to be working, but nothing appears
in the log file.  syslog-ng did create the file.

-rw-------   1 root     daemon         0 Jun  9 15:28 sys

(gdb) run -d -v -f /etc/syslog-ng.conf
Starting program: /usr/local/sbin/syslog-ng -d -v -f /etc/syslog-ng.conf
[New LWP    2        ]
[New LWP    3        ]
[New LWP    4        ]
syslog-ng version 1.1.24 starting
[New LWP    5        ]
[New LWP    6        ]
[New LWP    7        ]
[New LWP    8        ]
[New LWP    9        ]
[New LWP    10        ]
[New LWP    11        ]
[New LWP    12        ]
[New LWP    13        ]
[New LWP    14        ]

A new LWP line appears for each telnet/etc attempt.

Sending a SIGHUP.

Program received signal SIGHUP, Hangup.
0xef637368 in poll ()
(gdb) cont
Continuing.
SIGHUP received, restarting syslog-ng
new configuration initialized

The restart message is not seen in /var/log/sys.

/etc/syslog-ng.conf

# Setup global options
options { sync(10); };

# Setup source pipes
source src { sun-door /etc/.syslog_door; internal; };

# Setup destination pipes
destination everything { file /var/log/sys sync(2); };

# Connect log pipes from source to destination
log { source src; destination everything; };