Enhance command line logging