Replace the temporary log message with a permanent one
authorArt Cancro <ajc@citadel.org>
Fri, 28 Jan 2011 17:13:58 +0000 (12:13 -0500)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 14:09:48 +0000 (14:09 +0000)
citadel/msgbase.c

index ab0176de0a9804b25a06856633373e75d3575420..4ff8b55103be072814267dd7c0d45b0fb2e612c4 100644 (file)
@@ -1640,7 +1640,9 @@ int CtdlOutputMsg(long msg_num,           /* message number (local) to fetch */
                r = check_cached_msglist(msg_num);
        }
        if (r != om_ok) {
-               syslog(LOG_DEBUG, "\033[31m SECURITY CHECK FAIL \033[0m\n");
+               syslog(LOG_DEBUG, "Security check fail: message %ld is not in %s\n",
+                       msg_num, CC->room.QRname
+               );
                if (do_proto) {
                        if (r == om_access_denied) {
                                cprintf("%d message %ld was not found in this room\n",