[syslog-ng] Year in logs

Balazs Scheidler bazsi at balabit.hu
Mon Jul 4 10:31:38 CEST 2005


On Sun, 2005-07-03 at 12:39 +0200, Volker Apelt wrote:
> syrykh Alain wrote:
> 
> > Is there a way to include  year directly  in log messages , without 
> > rewrite logs into a specific format;
> > I would like find messages in log like that : 
>  > "*2005 *Jun  3 16:09:12 s_sys at ..........."
> 
> I'd like to see that feature, too. Very helpfull in old logs with
> new entries every half year.

it is possible by specifying a template, or by using syslog-ng 1.9.x and
using the ts_format() option.

-- 
Bazsi



More information about the syslog-ng mailing list