selinux: downgrade log about state to trace

It is printed on every invocation of sd-executor, which is noisy and not useful

Follow-up for: bb5232b6a3
This commit is contained in:
Luca Boccassi
2023-12-05 19:25:50 +00:00
committed by Luca Boccassi
parent 829732d40a
commit a14b75e218
+1 -1
View File
@@ -76,7 +76,7 @@ bool mac_selinux_use(void) {
#if HAVE_SELINUX
if (_unlikely_(cached_use < 0)) {
cached_use = is_selinux_enabled() > 0;
log_debug("SELinux enabled state cached to: %s", cached_use ? "enabled" : "disabled");
log_trace("SELinux enabled state cached to: %s", enabled_disabled(cached_use));
}
return cached_use;