Hi,
the attached patch fixes the count of "Unsafe statement written to the binary log" in the mysql error as reported here:
https://sourceforge.net/p/logwatch/discussion/1115929/thread/5691ab67
Have also done some formatting stuff to remove white spaces and removed the additional shebang.
Sorry, attached the wrong patch. The attached one is the correct one.
Thanks for fixing it. Included in rev 273.