Fixed command line stdout logging