diff src/scanner.cpp @ 86:c1280cd3e248

add multiple debug syslog levels, remove duplicate dnsbl definitions
author carl
date Tue, 19 Jul 2005 22:47:15 -0700
parents 81f1e400e8ab
children aa07452e641b
line wrap: on
line diff
--- a/src/scanner.cpp	Sun Jul 17 08:56:33 2005 -0700
+++ b/src/scanner.cpp	Tue Jul 19 22:47:15 2005 -0700
@@ -1163,7 +1163,7 @@
     string_set::iterator i = html_tags->find(tag);
     if (i == html_tags->end()) {
         bad_html_tags++;
-        if (debug_syslog && (bad_html_tags < 10)) {
+        if ((debug_syslog > 2) && (bad_html_tags < 10)) {
             // only log the first 10 bad tags
             char buf[200];
             snprintf(buf, sizeof(buf), "bad html tag %s", tag);