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

GitHub noreply at github.com
Wed Oct 4 10:00:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 719abeb2088987f213a33a7dd1fe78958beaef03
      https://github.com/dovecot/core/commit/719abeb2088987f213a33a7dd1fe78958beaef03
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 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