modified cli to use new logger