Fixed buffering of messages in BlackBoxLogger