diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index f71a057841..6bd29792a1 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -2036,7 +2036,8 @@ xrdp_wm_login_state_changed(struct xrdp_wm *self) return 0; } - LOG(LOG_LEVEL_DEBUG, "xrdp_wm_login_mode_changed: login_mode is %d", self->login_state); + LOG(LOG_LEVEL_DEBUG, "Login mode has changed to %s", + xrdp_wm_login_state_to_str(self->login_state)); if (self->login_state == WMLS_RESET) { list_clear(self->log);