Fixed bug in multiline logs