Skip to content

Commit

Permalink
lib-storage: Force mail_storage_service_user event debug when mail_de…
Browse files Browse the repository at this point in the history
…bug=yes
  • Loading branch information
Sergey-Kitov authored and cmouse committed Aug 7, 2018
1 parent 4bf907e commit 4b2389f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-storage/mail-storage-service.c
Expand Up @@ -1332,6 +1332,8 @@ mail_storage_service_lookup_real(struct mail_storage_service_ctx *ctx,
This event won't be a parent to any other events - mail_user.event
will be used for that. */
user->event = event_create(input->parent_event);
if (user->service_ctx->debug)
event_set_forced_debug(user->event, TRUE);
event_add_fields(user->event, (const struct event_add_field []){
{ .key = "user", .value = user->input.username },
{ .key = "service", .value = ctx->service->name },
Expand Down

0 comments on commit 4b2389f

Please sign in to comment.