diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-01-30 11:32:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-30 11:32:41 +0100 |
commit | 75d2752814f39f2188c4506eb84ca02586646e9a (patch) | |
tree | 7e02818939feaea2f3eb7cddfc48fdec79474df1 /src/sleep/sleep.c | |
parent | sleep: remove redundant debug log message (diff) | |
download | systemd-75d2752814f39f2188c4506eb84ca02586646e9a.tar.xz systemd-75d2752814f39f2188c4506eb84ca02586646e9a.zip |
sleep: upgrade some unexpected errors to LOG_WARNING log messages
Diffstat (limited to 'src/sleep/sleep.c')
-rw-r--r-- | src/sleep/sleep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 8498d45f1a..75adedc0e6 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -474,18 +474,18 @@ static int execute_s2h(const SleepConfig *sleep_config) { r = freeze_thaw_user_slice(&(const char*) { "FreezeUnit" }); if (r < 0) - log_debug_errno(r, "Failed to freeze unit user.slice, ignoring: %m"); + log_warning_errno(r, "Failed to freeze unit user.slice, ignoring: %m"); /* Only check if we have automated battery alarms if HibernateDelaySec= is not set, as in that case * we'll busy poll for the configured interval instead */ if (!timestamp_is_set(sleep_config->hibernate_delay_usec)) { r = check_wakeup_type(); if (r < 0) - log_debug_errno(r, "Failed to check hardware wakeup type, ignoring: %m"); + log_warning_errno(r, "Failed to check hardware wakeup type, ignoring: %m"); else { r = battery_trip_point_alarm_exists(); if (r < 0) - log_debug_errno(r, "Failed to check whether acpi_btp support is enabled or not, ignoring: %m"); + log_warning_errno(r, "Failed to check whether acpi_btp support is enabled or not, ignoring: %m"); } } else r = 0; /* Force fallback path */ |