[syslog-ng]templates...

Dave Patterson dave@diodoros.llnl.gov
Thu, 28 Mar 2002 11:49:46 -0800 (PST)


Hello,

has anyone had any luck /w templates <to configure the way syslog-ng
writes its log>   I'd like to call a template file containing the
information if possible. this is my current config:

template {date '+%b %e %T' hostname PROGRAM:}

destination d_program  {file("/var/syslog-ng/$HOST/$PROGRAM/$MONTH_$DAY" perm(0644) compress
(yes) template(template)) };

I'm not haveing any luck at all,... 

any help is apprecated,

Thanks 
Dave Patterson