]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish: display easily grepped config lines on -k parse
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 5 Jun 2011 15:00:41 +0000 (03:00 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 5 Jun 2011 15:00:41 +0000 (03:00 +1200)
src/cache_cf.cc

index c424e98240c04558ce1a67a3c68072946fdfc528..9d8c15713475bee2c9f7f39f41ad95d796c1a400 100644 (file)
@@ -494,7 +494,7 @@ parseOneConfigFile(const char *file_name, unsigned int depth)
 
         trim_trailing_ws(tmp_line);
         ProcessMacros(tmp_line, tmp_line_len);
-        debugs(3, 5, "Processing: '" << tmp_line << "'");
+        debugs(3, (opt_parse_cfg_only?1:5), "Processing: " << tmp_line);
 
         if (const char* expr = FindStatement(tmp_line, "if")) {
             if_states.push_back(EvalBoolExpr(expr)); // store last if-statement meaning