Cleanup logging output