History log of /dovecot/src/log/log-connection.h
Revision Date Author Comments Expand
2fb27941fb13f48e728365c1332039bfa63aca6e 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

log: Fix restoring global log prefix It was allocated from data stack, which was freed by master_service_init_finish(). This may have caused wrong prefix to be used for log's internal error messages, or restoring the global log prefix could have crashed: Panic: file strfuncs.c: line 147 (t_noalloc_strdup_vprintf): assertion failed: ((unsigned int)ret == *size_r-1)

9a795eb60306eede5efc7e8ec5d584457a49e32e 25-Aug-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

log: Include PID in prefix for internal log messages.

f2880c3c3de56ec757ffc393363bb863efd7bcbe 09-Feb-2015 Timo Sirainen <tss@iki.fi>

log: If too much logging data is sent, show it in process title.

e34d170f8f0e084bd94bfbc1a7085ece67e508df 25-Jun-2012 Timo Sirainen <tss@iki.fi>

Make sure we check all the functions' return values. Minor API changes to simplify this. Checked using a patched clang that adds attribute(warn_unused_result) to all functions. This commit fixes several error handling mistakes.

/dovecot/src/anvil/main.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-scram-sha1.c /dovecot/src/auth/passdb-blocking.c /dovecot/src/auth/password-scheme-otp.c /dovecot/src/auth/userdb-blocking.c /dovecot/src/auth/userdb-sql.c /dovecot/src/config/doveconf.c /dovecot/src/config/main.c /dovecot/src/config/old-set-parser.c /dovecot/src/dict/dict-commands.c /dovecot/src/dict/main.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.c /dovecot/src/director/director.c /dovecot/src/director/doveadm-connection.c /dovecot/src/director/mail-host.c /dovecot/src/director/main.c /dovecot/src/director/test-user-directory.c /dovecot/src/doveadm/doveadm-dump-dbox.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-mailbox-list-iter.c /dovecot/src/doveadm/doveadm-mount.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/dsync/doveadm-dsync.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox-tree.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-mails.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree.c /dovecot/src/doveadm/dsync/dsync-slave.c /dovecot/src/doveadm/dsync/dsync-slave.h /dovecot/src/doveadm/server-connection.c /dovecot/src/doveadm/server-connection.h /dovecot/src/imap-login/client.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/main.c /dovecot/src/indexer/master-connection.c /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-map-hdr.c /dovecot/src/lib-index/mail-index-modseq.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-sort-appends.c /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index-write.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-index/test-mail-transaction-log-append.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/rfc822-parser.c /dovecot/src/lib-mail/test-istream-dot.c /dovecot/src/lib-ntlm/ntlm-des.c /dovecot/src/lib-ntlm/ntlm-des.h /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-otp/otp-hash.c /dovecot/src/lib-otp/otp-hash.h /dovecot/src/lib-storage/index/dbox-common/dbox-file-fix.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-common/dbox-sync-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-purge.c /dovecot/src/lib-storage/index/dbox-single/sdbox-copy.c /dovecot/src/lib-storage/index/imapc/imapc-mail.c /dovecot/src/lib-storage/index/imapc/imapc-storage.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync-changes.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/index/raw/raw-mail.c /dovecot/src/lib-storage/mail-search-build.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail.c /dovecot/src/lib-storage/mailbox-get.c /dovecot/src/lib-storage/mailbox-uidvalidity.c /dovecot/src/lib/data-stack.c /dovecot/src/lib/hash.c /dovecot/src/lib/hostpid.c /dovecot/src/lib/iostream-rawlog.c /dovecot/src/lib/md4.c /dovecot/src/lib/md5.c /dovecot/src/lib/mountpoint.c /dovecot/src/lib/nfs-workarounds.c /dovecot/src/lib/nfs-workarounds.h /dovecot/src/lib/seq-range-array.c /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/test-base64.c /dovecot/src/lib/test-network.c /dovecot/src/lib/test-ostream-file.c /dovecot/src/lib/test-seq-range-array.c log-connection.c log-connection.h /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/login-proxy-state.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/main.c /dovecot/src/master/service-anvil.c /dovecot/src/master/service-process.c /dovecot/src/master/service-process.h /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/expire/doveadm-expire.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-zlib/imap-zlib-plugin.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/stats/stats-connection.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/zlib/doveadm-zlib.c /dovecot/src/plugins/zlib/ostream-zlib.c /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h /dovecot/src/pop3/pop3-commands.c /dovecot/src/replication/aggregator/notify-connection.c /dovecot/src/replication/replicator/notify-connection.c /dovecot/src/stats/main.c /dovecot/src/util/rawlog.c
acba68a69cdd6f3f00faa18cccef356d95048e46 06-Feb-2012 Timo Sirainen <tss@iki.fi>

log: Keep track of last 1000 errors/warnings. "doveadm log errors" shows them.

3e8558a3a8e12b012e43976ead883bb5cc00ada4 04-Jun-2009 Timo Sirainen <tss@iki.fi>

Fixed log process after recent lib-master changes. --HG-- branch : HEAD

e3540e734a79fd4f971652925079c2e26a4b5524 03-Jun-2009 Timo Sirainen <tss@iki.fi>

log, lib-master: More fifo handling fixes. --HG-- branch : HEAD

78fa3c578c14ee8a612f86cf73b6181c7f16463f 05-May-2009 Timo Sirainen <tss@iki.fi>

master: Fixes to handling logging. Master now has a non-blocking write pipe to log process, so it no longer blocks if log process is hanging. Also it's cleaner to send log commands via a pipe specifically meant for them. --HG-- branch : HEAD

d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 24-Apr-2009 Timo Sirainen <tss@iki.fi>

Initial commit for v2.0 master rewrite. Several features are still missing. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/TODO /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-master-interface.h /dovecot/src/auth/auth-master-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/config/Makefile.am /dovecot/src/config/common.h /dovecot/src/config/config-connection.c /dovecot/src/config/config-connection.h /dovecot/src/config/main.c /dovecot/src/config/settings-get.pl /dovecot/src/imap-login/Makefile.am /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/main.c /dovecot/src/lda/main.c /dovecot/src/lib-master/Makefile.am /dovecot/src/lib-master/master-auth.c /dovecot/src/lib-master/master-auth.h /dovecot/src/lib-master/master-interface.h /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/master-service.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lmtp/client.c /dovecot/src/lmtp/main.c Makefile.am common.h log-connection.c log-connection.h main.c /dovecot/src/login-common/Makefile.am /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/login-settings.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/sasl-server.h /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/login-common/ssl-proxy.c /dovecot/src/login-common/ssl-proxy.h /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/child-process.c /dovecot/src/master/child-process.h /dovecot/src/master/common.h /dovecot/src/master/dict-process.c /dovecot/src/master/dict-process.h /dovecot/src/master/listener.c /dovecot/src/master/listener.h /dovecot/src/master/log.c /dovecot/src/master/log.h /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/mail-process.c /dovecot/src/master/mail-process.h /dovecot/src/master/main.c /dovecot/src/master/master-login-interface.h /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/service-auth-server.c /dovecot/src/master/service-auth-server.h /dovecot/src/master/service-auth-source.c /dovecot/src/master/service-auth-source.h /dovecot/src/master/service-listen.c /dovecot/src/master/service-listen.h /dovecot/src/master/service-log.c /dovecot/src/master/service-log.h /dovecot/src/master/service-monitor.c /dovecot/src/master/service-monitor.h /dovecot/src/master/service-process.c /dovecot/src/master/service-process.h /dovecot/src/master/service.c /dovecot/src/master/service.h /dovecot/src/master/sysinfo-get.c /dovecot/src/master/sysinfo-get.h /dovecot/src/plugins/convert/convert-tool.c /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/main.c