Correcting log messages