From: Art Cancro Date: Tue, 6 Dec 2011 04:42:01 +0000 (-0500) Subject: added some temporary logging X-Git-Tag: v8.03~1 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1b6ce4c45c7312af6a40f4e4952101c0ec4b26d4 added some temporary logging --- diff --git a/citadel/modules/vcard/serv_vcard.c b/citadel/modules/vcard/serv_vcard.c index 5486e0947..9c62b0347 100644 --- a/citadel/modules/vcard/serv_vcard.c +++ b/citadel/modules/vcard/serv_vcard.c @@ -530,6 +530,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 2442afac9..3919cf911 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2595,6 +2595,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); @@ -2641,6 +2642,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]); } }