[syslog-ng] No logging on Snow Leopard except internal
Andrew Eberbach
eberbach at gmail.com
Mon Jan 16 16:54:39 CET 2012
Hi
I'm trying to get syslog-ng working on snow leopard but when it starts
all I get is internal messages. Using logger to send a message won't
work nor will using another program. Both work with normal syslogd
(which I have turned off so as not to conflict). I've also tried
loggen -D localhost 514 and loggen -i localhost 514 to no avail.
Here's the details:
#/usr/local/Cellar/syslog-ng/3.2.4/sbin/syslog-ng -V
syslog-ng 3.2.4
Installer-Version: 3.2.4
Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.2#master#ef7b91e4a1b1f9628c66138b4ae83de7e4c697c6
Compile-Date: Jan 16 2012 05:44:25
Enable-Threads: off
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-Sun-STREAMS: off
Enable-IPv6: on
Enable-Spoof-Source: off
Enable-TCP-Wrapper: on
Enable-SSL: on
Enable-SQL: off
Enable-Linux-Caps: off
Enable-Pcre: on
Enable-Pacct: off
and here's the config
#cat syslog-ng.conf
#############################################################################
# Default syslog-ng.conf file which collects all local logs into a
# single file called /var/log/messages.
#
@version: 3.2
@include "scl.conf"
source s_local {
system();
internal();
};
source s_network {
udp();
};
destination d_local {
file("/var/log/messages");
};
log {
source(s_local);
# uncomment this line to open port 514 to receive messages
source(s_network);
destination(d_local);
};
I'm sure there's something stupid that I'm missing but I haven't been
able to find it. Any thoughts?
Thanks,
Andrew
More information about the syslog-ng
mailing list