Bazsi's blog

Guarding Your Business

syslog-ng now supports the syslog.conf file format

Thursday, September 30, 2010 @ 12:09 PM Author: Balázs Scheidler

People complained that syslog-ng is not a drop-in syslogd replacement and you have to learn a new configuration file format. Although I really think that syslog-ng’s way is superior to the old syslog.conf style, it is true that for someone not familiar with syslog-ng, the syntax of the configuration is something that needs to be learnt.

Courtesy of Jonathan W. Marks who contributed a syslogd -> syslog-ng translator back in the day, I’ve commited an SCL plugin that can be used to convert syslog.conf file to syslog-ng configuration without any manual hassles. SIGHUP and the like immeditately work well, as it is the syslog-ng config parser which drives the conversion.

It is not meant to be used for anything more but migration, but for that it can be handy.

You still have to create a static syslog-ng configuration file though, but that’s static and looks like this:

@version: 3.2
@include “scl.conf”

syslogconf()

So now users have a choice which one they prefer.

One Response to “syslog-ng now supports the syslog.conf file format”

  1. Hello,
    I’m working with a client that wants to locate the syslog2ng script we downloaed the rpm for redhat 3.1.4 and it doesn’t seem to be included.
    Where can I find the scl plugin for syslog2ng.


Leave a Reply