Fix #600, make sure that the buffer is a string

Emit the string buffer without the log format