attempt to resolve log_level flag not honoured