Allow logging of long messages

(in debug mode)