ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
6f381c
From b18e19f2262e7ed95c25d53268d12427fe77102d Mon Sep 17 00:00:00 2001
6f381c
From: David Tardon <dtardon@redhat.com>
6f381c
Date: Tue, 21 Feb 2023 10:41:47 +0100
6f381c
Subject: [PATCH] logind-session: make stopping of idle session visible to
6f381c
 admins
6f381c
6f381c
(cherry picked from commit 6269ffe7ee8a659df7336a2582054ecd9eecf4b1)
6f381c
6f381c
Resolves: #2156780
6f381c
---
6f381c
 src/login/logind-session.c | 2 +-
6f381c
 1 file changed, 1 insertion(+), 1 deletion(-)
6f381c
6f381c
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
6f381c
index 18a07efcdb..916202a65a 100644
6f381c
--- a/src/login/logind-session.c
6f381c
+++ b/src/login/logind-session.c
6f381c
@@ -673,7 +673,7 @@ static int session_dispatch_stop_on_idle(sd_event_source *source, uint64_t t, vo
6f381c
 
6f381c
         idle = session_get_idle_hint(s, &ts);
6f381c
         if (idle) {
6f381c
-                log_debug("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->name);
6f381c
+                log_info("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->name);
6f381c
 
6f381c
                 return session_stop(s, /* force */ true);
6f381c
         }