Mhhh... nothing exciting, so it should work. Rsyslogd uses datagram sockets on /dev/log. You use that with nc, too, right (I have no man available right now).? Also, sysklogd uses datagram sockets as well...
Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Todd Michael Bushnell > Sent: Wednesday, February 02, 2011 8:58 AM > To: rsyslog-users > Subject: Re: [rsyslog] netcat (nc) utility to /dev/log not working > withrsyslog > > Rainer, > > Thanks for getting back to me so swiftly. Attached is a debug from a > second test system - first system was CentOS 5 box with some minor > config customization. This is a Fedora box with default RPM install. > Same result: nothing to logs and nothing thrown in debug mode. I tried > both "-c 3" as well as default backward compatibility mode. Have not > yet tried throwing at network socket, but I guess I can give that a > shot next. Appreciate your expertise on this. > > todd > > > On Feb 1, 2011, at 11:24 PM, Rainer Gerhards wrote: > > > Can you provide a debug log? This sounds a bit strange... > > > >> -----Original Message----- > >> From: [email protected] [mailto:rsyslog- > >> [email protected]] On Behalf Of Todd Michael Bushnell > >> Sent: Wednesday, February 02, 2011 7:05 AM > >> To: [email protected] > >> Subject: [rsyslog] netcat (nc) utility to /dev/log not working with > >> rsyslog > >> > >> I'm trying to transition from sysklog and initially planned on using > >> syslog-ng, but have since been turned on to rsyslog. I have a > working > >> copy of syslog-ng and I routinely test sends of larger log messages > >> using netcat, rather than logger, because logger has a 1024-ish byte > >> message size limit. I would instead put my large message in > /tmp/file > >> and do something like this: > >> > >> nc -w0 -U /dev/log < /tmp/file > >> > >> Pretty straightforward and works fine when testing syslog or syslog- > ng. > >> Unfortunately, it does not work with rsyslog, even though logger > does. > >> Even in debug mode, I see no response from rsyslog when I run this > >> command. Is there something I'm missing here? Thanks > >> > >> todd > >> > >> > >> > >> _______________________________________________ > >> rsyslog mailing list > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> http://www.rsyslog.com > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

