Skip to content

Commit

Permalink
[tklock] Elevate logging of display exception state changes. JB#36274
Browse files Browse the repository at this point in the history
Calls, alarms, notifications, etc can cause display wakeups that get
triggered via changes in exceptional-display-on state.
  • Loading branch information
spiiroin committed Oct 11, 2016
1 parent 898605b commit 653fc42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tklock.c
Expand Up @@ -1327,7 +1327,7 @@ static void tklock_datapipe_exception_state_cb(gconstpointer data)
if( exception_state == prev )
goto EXIT;

mce_log(LL_DEBUG, "exception_state = %s -> %s",
mce_log(LL_CRUCIAL, "exception_state = %s -> %s",
uiexctype_repr(prev),
uiexctype_repr(exception_state));

Expand Down Expand Up @@ -5889,7 +5889,7 @@ static gboolean tklock_dbus_notification_beg_cb(DBusMessage *const msg)
goto EXIT;
}

mce_log(LL_DEVEL, "notification begin from %s",
mce_log(LL_CRUCIAL, "notification begin from %s",
mce_dbus_get_message_sender_ident(msg));

mce_tklock_begin_notification(from, name, dur, add);
Expand Down Expand Up @@ -5928,7 +5928,7 @@ static gboolean tklock_dbus_notification_end_cb(DBusMessage *const msg)
goto EXIT;
}

mce_log(LL_DEVEL, "notification end from %s",
mce_log(LL_CRUCIAL, "notification end from %s",
mce_dbus_get_message_sender_ident(msg));

mce_tklock_end_notification(from, name, dur);
Expand Down

0 comments on commit 653fc42

Please sign in to comment.