input->session_id != NULL ? input->session_id :
(input->session_id_prefix != NULL ?
input->session_id_prefix : NULL);
- i_set_failure_prefix("%s(%s%s,%s)",
+ i_set_failure_prefix("%s(%s%s%s): ",
master_service_get_name(ctx->service), input->username,
session_id == NULL ? "" : t_strdup_printf(",%s", session_id),
input->remote_ip.family == 0 ? "" :
/* we might be here because we're doing a user lookup for a
shared user. the log prefix is likely already usable, so
just append our own without replacing the whole thing. */
- i_set_failure_prefix("%suser-lookup(%s)",
+ i_set_failure_prefix("%suser-lookup(%s): ",
old_log_prefix, input->username);
update_log_prefix = FALSE;
}