Re: [courier-users] Garbled log lines
Brought to you by:
mrsam
From: Szépe V. <vi...@sz...> - 2015-01-30 10:30:33
|
Is there a \n at the end of the line written to stderr? E.g. https://github.com/szepeviktor/courier-pythonfilter-custom/blob/master/email-correct.py#L244 Idézem/Quoting Alessandro Vesely <ve...@ta...>: > Every now and then log lines from a filter through stderr to syslog get > intermixed. For example, this came as a single line: > > Jan 29 13:49:35 wmail courierfilter: > zdkimfilter[31367]:INFO:zdkimfilter[31364]:drop > msg,id=00000000005DC056.0000000054CA2C5F.00007A7D: Found-Virusdrop > msg,id=00000000005DC04E.0000000054CA2C5F.00007A7C: Found-Virus > > Would it work better if the filter sent lines to syslog directly? > > Ale > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > courier-users mailing list > cou...@li... > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users Szépe Viktor -- +36-20-4242498 sm...@sz... skype: szepe.viktor Budapest, XX. kerület |