log: typo fix
cli: convert to loging routines