From a39a0c6db42b09db43a575fd9bf6ad4d2cc0a7f4 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 21 Feb 2023 10:41:47 +0100 Subject: [PATCH] logind-session: make stopping of idle session visible to admins (cherry picked from commit 6269ffe7ee8a659df7336a2582054ecd9eecf4b1) (cherry picked from commit f2460b78b9a4e46deb2e9432df68b546a988d46a) --- src/login/logind-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 5bd4abc474..709a585013 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -711,7 +711,7 @@ static int session_dispatch_stop_on_idle(sd_event_source *source, uint64_t t, vo idle = session_get_idle_hint(s, &ts); if (idle) { - log_debug("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->user_record->user_name); + log_info("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->user_record->user_name); return session_stop(s, /* force */ true); }