[sr-dev] git:master:53ca8b50: core: check logging protection before the level