I remember a bug in that caused similar symptoms when the output template produced zero length strings.
That has been fixed though. But can you try that regardless?
Can you perhaps use gdb to check where it is spinning?
If not, I would need to reproduce it.
AlexandreRegards,Was possible to reproduce that with 3.4.4 and 3.5.0beta3.all.log - http://pastebin.com/syusGF2Hsyslog-ng.conf - http://pastebin.com/QD6huzA3Follow the link to syslog-ng.conf, patterndb file and example logfile:Hi list,Running syslog-ng with self written patterndb and format_json output the process is hitting 100% of CPU looks like it's freezed (infinite loop ?) and nothing is written to the output.
httpd.xml (patterndb) - http://pastebin.com/kF9zJHYH
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq