Clean up log output