]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Remove the flooding of the console with a debug message
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Wed, 4 Mar 2015 19:55:34 +0000 (20:55 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Wed, 4 Mar 2015 19:55:34 +0000 (20:55 +0100)
Every excluded site was reported on the console when -z was used. Those
messages were flooding the console even with a small log file.

As the message belong to the most advanced debugging level, its debug
level as been increased to -zzzz.

readlog.c

index 4dd63308f427c2d65cf2fae8ca36960a5dfcfea6..de6199d2edbb3b4d41b113cb6acd4a6c1d16a088 100644 (file)
--- a/readlog.c
+++ b/readlog.c
@@ -473,7 +473,7 @@ static void ReadOneLogFile(struct ReadLogDataStruct *Filter,const char *arq)
                }
                if(Filter->HostFilter) {
                        if(!vhexclude(url)) {
-                               if (debugz>=LogLevel_Process) debuga(_("Excluded site: %s\n"),url);
+                               if (debugz>=LogLevel_Data) debuga(_("Excluded site: %s\n"),url);
                                excluded_count[ER_Url]++;
                                totregsx++;
                                continue;