From: Art Cancro Date: Tue, 6 Dec 2011 04:42:01 +0000 (-0500) Subject: added some temporary logging X-Git-Tag: v8.11~302 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=7d014eb06c42f620b197a9530051326f46ae6c9b added some temporary logging --- diff --git a/citadel/modules/vcard/serv_vcard.c b/citadel/modules/vcard/serv_vcard.c index 2dcd12719..6a21cd9a7 100644 --- a/citadel/modules/vcard/serv_vcard.c +++ b/citadel/modules/vcard/serv_vcard.c @@ -570,6 +570,7 @@ int vcard_upload_aftersave(struct CtdlMessage *msg) { */ I = atol(msg->cm_fields['I']); + syslog(LOG_DEBUG, "GAB: \033[35m%s\033[0m", msg->cm_fields['I']); if (I < 0L) return(0); /* Store our Internet return address in memory */ diff --git a/citadel/msgbase.c b/citadel/msgbase.c index dd6c5a830..1bc393b26 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2635,6 +2635,7 @@ int CtdlSaveMsgPointersInRoom(char *roomname, long newmsgidlist[], int num_newms "CtdlSaveMsgPointersInRoom(room=%s, num_msgs=%d, repl=%d, suppress_rca=%d)\n", roomname, num_newmsgs, do_repl_check, suppress_refcount_adj ); + if (num_newmsgs > 0) for (i=0; iroom.QRname); @@ -2681,6 +2682,10 @@ int CtdlSaveMsgPointersInRoom(char *roomname, long newmsgidlist[], int num_newms } if (unique) { msgs_to_be_merged[num_msgs_to_be_merged++] = newmsgidlist[i]; + syslog(LOG_DEBUG, "\033[32mmsg %ld is being merged\033[0m", newmsgidlist[i]); + } + else { + syslog(LOG_DEBUG, "\033[31mmsg %ld is not unique\033[0m", newmsgidlist[i]); } }