[syslog-ng] Logging format

Balazs Scheidler bazsi at balabit.hu
Fri Aug 3 09:38:49 CEST 2007


On Thu, 2007-08-02 at 16:14 -0400, Darwin, Samuel wrote:
> Hi,
> 
> I was thinking that some sylog-ng logs might look more readable with an
> additional newline character after each logged entry.  I mean, to
> separate each log entry with an empty line.
> 
> Is there any easy way to add that?  What's the full syntax?   BTW - I
> don't want to change anything else about the rest of the default logging
> format..

Use this template for your destination file:

template("$DATE $HOST $MSG\n\n");

and you are set.

-- 
Bazsi



More information about the syslog-ng mailing list