Timing information for passdb/userdb lookups

Marcus Rückert darix at opensu.se
Wed Jan 25 10:57:16 UTC 2017


Hi,

it would be nice to have an option to enable logging for timings
without having to go with auth_verbose/auth_debug. If you try to track
down if a slowdown for logging in comes from e.g. running out of login
workers or if your auth backend is slow it would really help to get
just a one line message per userdb/passdb with the timing for this
lookup.

something like:

imap-login(<username>): userdb ldap lookup time 0.4s
imap-login(<username>): passdb ldap lookup time 0.2s

or even merging into one:

imap-login(<username>): userdb ldap lookup time 0.4s passdb ldap lookup time 0.2s

    darix

-- 
          openSUSE - SUSE Linux is my linux
              openSUSE is good for you
                  www.opensuse.org


More information about the dovecot mailing list