]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: If user move times out, log the state it was in at the time.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 24 Oct 2016 21:11:50 +0000 (00:11 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 25 Oct 2016 18:01:23 +0000 (21:01 +0300)
src/director/director.c

index 6c0216f4d3eafa89b822cdadc8c52aa370f0daa6..cfac4e60c1a2fc77c860a363882f5d1f873042c1 100644 (file)
@@ -929,7 +929,9 @@ static void director_user_move_timeout(struct user *user)
 
        if (log_throttle_accept(user_move_throttle)) {
                i_error("Finishing user %u move timed out, "
-                       "its state may now be inconsistent", user->username_hash);
+                       "its state may now be inconsistent (state=%s)",
+                       user->username_hash,
+                       user_kill_state_names[user->kill_state]);
        }
 
        /* FIXME: shouldn't use global director, but for now there's no easy