]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind-session: make stopping of idle session visible to admins
authorDavid Tardon <dtardon@redhat.com>
Tue, 21 Feb 2023 09:41:47 +0000 (10:41 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 Feb 2023 19:50:24 +0000 (20:50 +0100)
src/login/logind-session.c

index 2a121faea59527a8506c7e118e7bb35c2fdf7364..63b6d012ee590443da2811de8aec94d9f470bcd0 100644 (file)
@@ -710,7 +710,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);
         }