[event_output] remove debug printf
[event_output] add function for cleanup buffer not used