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 <ves...@tana.it>:

> 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
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Szépe Viktor
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület





------------------------------------------------------------------------------
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to