[dovecot/core] a91276: lib-master: master_service_init_log() - Switch log...

GitHub noreply at github.com
Thu Oct 5 16:30:14 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: a912765fdaaa5b3b1012588c953d913b4d1800ac
      https://github.com/dovecot/core/commit/a912765fdaaa5b3b1012588c953d913b4d1800ac
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-master/master-service-private.h
    M src/lib-master/master-service.c
    M src/lib-master/master-service.h

  Log Message:
  -----------
  lib-master: master_service_init_log() - Switch log handlers only on the first call

The secondary calls were only done by mail_storage_service_*() calls. They
want to initialize the logging once, but afterwards they only care about
changing the log prefix. Switch to this behavior now explicitly.

This fixes behavior if logging functions are changed between
mail_storage_service_*() calls, so they don't get reset.




More information about the dovecot-cvs mailing list