Changing _get_logger behavior to properly find command.