[syslog-ng]Using logger with syslog-ng
Ed Ravin
syslog-ng@lists.balabit.hu
Tue, 14 Dec 2004 21:16:38 -0500
On Tue, Dec 14, 2004 at 12:35:41PM -0800, Vaibhav Goel wrote:
> Thanks for your prompt reply. It is as I suspected....I won't be able
> to use logger to test.
>
> I am running RedHat Linux. Please note that syslogd and syslog-ng need
> to co-exist on the source as well as the loghost. I see in the FAQ that
> this is possible. Should I get syslog-ng to listen on the UDP port 514
> meant for syslogd? Is there any quick way I can test this setup?
If you tell syslog-ng to listen to the UDP port, then you can write a
Perl script using the Sys::Syslog module (which comes with Perl 5 and
later) to do your testing. If you already know some Perl, that
should be pretty quick.