summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/cyrus-imapd/files/kolab/2.3.12_p2/logging.patch')
-rw-r--r--net-mail/cyrus-imapd/files/kolab/2.3.12_p2/logging.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/net-mail/cyrus-imapd/files/kolab/2.3.12_p2/logging.patch b/net-mail/cyrus-imapd/files/kolab/2.3.12_p2/logging.patch
deleted file mode 100644
index c0bd2fa..0000000
--- a/net-mail/cyrus-imapd/files/kolab/2.3.12_p2/logging.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Provides improved logging for the cyrus imapd server [Version: 2.3.9]
-
-diff -r 6162fc947b22 imap/append.c
---- a/imap/append.c Tue Dec 11 11:22:03 2007 +0100
-+++ b/imap/append.c Tue Dec 11 11:22:13 2007 +0100
-@@ -648,6 +648,9 @@ int append_fromstage(struct appendstate
-
- /* ok, we've successfully added a message */
- as->quota_used += message_index.size;
-+
-+ syslog(LOG_DEBUG, "append_fromstage: message %d added to %s",
-+ message_index.uid, mailbox->name );
-
- return 0;
- }
-diff -r 6162fc947b22 imap/imapd.c
---- a/imap/imapd.c Tue Dec 11 11:22:03 2007 +0100
-+++ b/imap/imapd.c Tue Dec 11 11:22:13 2007 +0100
-@@ -3509,17 +3509,19 @@ void cmd_close(char *tag)
- if (!r) sync_log_mailbox(imapd_mailbox->name);
- }
-
-+ if (r) {
-+ prot_printf(imapd_out, "%s NO %s\r\n", tag, error_message(r));
-+ }
-+ else {
-+ prot_printf(imapd_out, "%s OK %s\r\n", tag,
-+ error_message(IMAP_OK_COMPLETED));
-+ syslog(LOG_DEBUG, "cmd_expunge: user %s, mailbox %s, sequence %s",
-+ imapd_userid, imapd_mailbox->name, "''");
-+ }
-+
- index_closemailbox(imapd_mailbox);
- mailbox_close(imapd_mailbox);
- imapd_mailbox = 0;
--
-- if (r) {
-- prot_printf(imapd_out, "%s NO %s\r\n", tag, error_message(r));
-- }
-- else {
-- prot_printf(imapd_out, "%s OK %s\r\n", tag,
-- error_message(IMAP_OK_COMPLETED));
-- }
- }
-
- /*
-diff -r 6162fc947b22 imap/mailbox.c
---- a/imap/mailbox.c Tue Dec 11 11:22:03 2007 +0100
-+++ b/imap/mailbox.c Tue Dec 11 11:22:13 2007 +0100
-@@ -2520,6 +2520,8 @@ int mailbox_expunge(struct mailbox *mail
- *(fname->tail)++ = '/';
- fname->len++;
- for (msgno = 0; msgno < numdeleted; msgno++) {
-+ syslog(LOG_DEBUG, "mailbox_expunge: removing mail %s:%d",
-+ mailbox->name, deleted[msgno]);
- mailbox_message_get_fname(mailbox, deleted[msgno],
- fname->tail,
- sizeof(fname->buf) - fname->len);