]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Reduce priority of "cleared HibernateLocation" message
authorAndrew Sayers <andrew-github.com@pileofstuff.org>
Wed, 29 Jan 2025 13:13:04 +0000 (13:13 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Jan 2025 09:36:13 +0000 (10:36 +0100)
This message appears when a computer hibernates, then awakens, then reboots,
and everything goes OK.  It's a normal progress message the user doesn't need
to know about, but it distracts them from important startup messages and could
even train them to ignore the warning when the procedure fails.

Reduce the level to LOG_INFO.

src/hibernate-resume/hibernate-resume.c

index c6494b99a91582b5d90d5e90fc6517144ff4fc73..d86f4ad18f03fc4fee0d876c9a078d57bd503334 100644 (file)
@@ -120,7 +120,7 @@ static int action_clear(void) {
 
         r = clear_efi_hibernate_location_and_warn();
         if (r > 0)
-                log_notice("Successfully cleared HibernateLocation EFI variable.");
+                log_info("Successfully cleared HibernateLocation EFI variable.");
         return r;
 }