Removing logging messages