New answers tagged

0

Do you use any specific template to format the messages? It might be that the linebreak character (\n) is not handled properly on windows. Try adding a \r to the template, for example: destination d_file { file ("/var/log/messages" template("${ISODATE} ${HOST} ${MSG}\r\n") ); };


0

You want to use macros in your destination path or filename, for example: file("/var/log/${YEAR}.${MONTH}.${DAY}/messages" For details, see the list of syslog-ng macros



Top 50 recent answers are included