2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-03 07:45:50 +00:00

Move annoying "skipping disabled profile" log to debug.

Signed-off-by: Jérôme Poulin <jeromepoulin@gmail.com>
This commit is contained in:
Jérôme Poulin
2025-07-16 16:33:08 -04:00
parent 630fd1c285
commit 000b56a323

View File

@@ -1630,7 +1630,7 @@ def read_profiles(ui_msg=False, skip_profiles=(), skip_disabled=True, skip_perm_
if is_skippable_file(file): if is_skippable_file(file):
continue continue
elif skip_disabled and os.path.exists(f'{profile_dir}/disable/{file}'): elif skip_disabled and os.path.exists(f'{profile_dir}/disable/{file}'):
aaui.UI_Info("skipping disabled profile %s" % file) debug_logger.debug("skipping disabled profile %s", file)
continue continue
elif file in skip_profiles: elif file in skip_profiles:
aaui.UI_Info("skipping profile %s" % full_file) aaui.UI_Info("skipping profile %s" % full_file)