Removes log messages