From: Timo Sirainen Date: Tue, 14 Jan 2020 21:28:53 +0000 (+0200) Subject: lib-fs: Don't log "Asynchronous operation in progress" debug messages X-Git-Tag: 2.3.10~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7aafd832151dd34e28cb1bba214accf9b15d908;p=thirdparty%2Fdovecot%2Fcore.git lib-fs: Don't log "Asynchronous operation in progress" debug messages --- diff --git a/src/lib-fs/fs-api.c b/src/lib-fs/fs-api.c index 739927895d..a68e3f0e26 100644 --- a/src/lib-fs/fs-api.c +++ b/src/lib-fs/fs-api.c @@ -560,7 +560,10 @@ fs_set_verror(struct event *event, const char *fmt, va_list args) } char *new_error = i_strdup_vprintf(fmt, args); - e_debug(event, "%s", new_error); + /* Don't flood the debug log with "Asynchronous operation in progress" + messages. They tell nothing useful. */ + if (errno != EAGAIN) + e_debug(event, "%s", new_error); /* free old error after strdup in case args point to the old error */ if (file != NULL) {