Added command line log feature