log messages clean up