Log messages must be written correctly.