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)
committerArt Cancro <ajc@citadel.org>
Fri, 28 Jan 2011 17:13:58 +0000 (12:13 -0500)
citadel/msgbase.c

index 538ab91267fff9123f5afd6bbb0b0bd0512fed6d..17b440db695c6ac1863934f94f14701e251a416b 100644 (file)
@@ -1608,7 +1608,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",