log output cleanup