Remove unused log messages.