[syslog-ng]sync question, feature request

Wiktor Wodecki wodecki@wapme-systems.de
Fri, 12 Jan 2001 10:56:19 +0100


Hello,

Thierry Besancon wrote:
> destination all {
>         file("/var/log/messages-$YEAR$MONTH$DAY" create_dirs(yes));
> };
> 
> Nevertheless, I'm not sure that is really what you (and I) want. In my

yes, this what I wanted. I forgot about those macros when setting up my
logging-server. I created the following destination directives:

destination ganesh { file("/var/log/cluster/$YEAR$MONTH$DAY/ganesh"); };
destination shiv { file("/var/log/cluster/$YEAR$MONTH$DAY/shiv"); };
destination durga { file("/var/log/cluster/$YEAR$MONTH$DAY/durga"); }; 

So I wont have to logrotate them and it's easier for my check-scripts to
handle the files.

-- 

Regards,

Wiktor Wodecki
Unix-Administration
Wapme Systems AG