Added commandline logging utils