12 Jan
2001
12 Jan
'01
9:56 a.m.
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