From: Marco Bettini Date: Wed, 5 Oct 2022 13:08:09 +0000 (+0000) Subject: lib-index: Replace i_() with e_() X-Git-Tag: 2.4.0~3514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7579c4f4412365974c33bf118d3d04d99624d5c7;p=thirdparty%2Fdovecot%2Fcore.git lib-index: Replace i_() with e_() --- diff --git a/src/lib-index/mail-index-fsck.c b/src/lib-index/mail-index-fsck.c index cd0f598429..aefb14050b 100644 --- a/src/lib-index/mail-index-fsck.c +++ b/src/lib-index/mail-index-fsck.c @@ -445,7 +445,7 @@ int mail_index_fsck(struct mail_index *index) uint32_t file_seq; uoff_t file_offset; - i_warning("fscking index file %s", index->filepath); + e_warning(index->event, "fscking index file %s", index->filepath); index->fscked = TRUE; diff --git a/src/lib-index/mail-transaction-log-file.c b/src/lib-index/mail-transaction-log-file.c index 7ea0975024..88c35b7dfe 100644 --- a/src/lib-index/mail-transaction-log-file.c +++ b/src/lib-index/mail-transaction-log-file.c @@ -421,7 +421,8 @@ void mail_transaction_log_file_unlock(struct mail_transaction_log_file *file, lock_time = time(NULL) - file->lock_create_time; if (lock_time >= MAIL_TRANSACTION_LOG_LOCK_WARN_SECS && lock_reason != NULL) { - i_warning("Transaction log file %s was locked for %u seconds (%s)", + e_warning(file->log->index->event, + "Transaction log file %s was locked for %u seconds (%s)", file->filepath, lock_time, lock_reason); } diff --git a/src/lib-index/mail-transaction-log.c b/src/lib-index/mail-transaction-log.c index b26ce63958..5e56865afb 100644 --- a/src/lib-index/mail-transaction-log.c +++ b/src/lib-index/mail-transaction-log.c @@ -555,7 +555,8 @@ int mail_transaction_log_lock_head(struct mail_transaction_log *log, /* try again */ } if (lock_secs > MAIL_TRANSACTION_LOG_LOCK_WARN_SECS) { - i_warning("Locking transaction log file %s took %ld seconds (%s)", + e_warning(log->index->event, + "Locking transaction log file %s took %ld seconds (%s)", log->head->filepath, (long)lock_secs, lock_reason); }