There is already "service:<name>" category added to all events so this is
duplication.
If it's later on decided to be useful after all, it should be added
automatically to all events. Probably by creating the root event in
lib-master.
user->service_ctx->debug || (flags & MAIL_STORAGE_SERVICE_FLAG_DEBUG) != 0);
event_add_fields(user->event, (const struct event_add_field []){
{ .key = "user", .value = user->input.username },
- { .key = "service", .value = ctx->service->name },
{ .key = "session", .value = user->input.session_id },
{ .key = NULL }
});
i_assert(service != NULL);
user->service = p_strdup(user->pool, service);
- event_add_str(user->event, "service", service);
-
mail_user_connection_init_from(&user->conn, user->pool, conn);
}