Copying this to the syslog-ng@ list aswell, as this might be interesting to others aswell, and the patch should be picked up for 3.3 too.
On 2011-06-01 17:20, Costa Farber wrote:
Hello.
I use syslog-ng 3.3 beta. It was working up today perfect. Today I got the following result: my config */source s_network { udp(); tcp(); }; destination d_local_prospero { file("/var/log/messages_prospero" template("$ISODATE#$HOST#$MSGONLY\n") ); }; log { source(s_network); destination(d_local_prospero); };/*
source message is /*Jun 1 17:50:11 ubnct lighttpd-1.5[24730]: DEBUG wix.c:send_wixfs_file:345 will send file: /var/www/static.wix.com/media/3d/44/3d4433_34a5623f12940907668b5ee9b72d23a3.jpg_600 <http://static.wix.com/media/3d/44/3d4433_34a5623f12940907668b5ee9b72d23a3.jpg_600>*/
result is /*2011-06-01T17:50:03+03:00#ubnct# 1 17:50:11 ubnct lighttpd-1.5[24730]: DEBUG wix.c:send_wixfs_file:345 will send file: /var/www/static.wix.com/media/3d/44/3d4433_34a5623f12940907668b5ee9b72d23a3.jpg_600 <http://static.wix.com/media/3d/44/3d4433_34a5623f12940907668b5ee9b72d23a3.jpg_600>*/
It seems like parser has a bug and can not pars one digit day (it has 2 spaces between month and day). I need help to clear is it bug or any ather problem.
This is a known problem, but for some reason the fix did not make it into 3.3 yet. Attached is a patch that fixes the problem. -- |8]