adding log level  to cli tool