From: Amos Jeffries Date: Sun, 5 Jun 2011 15:00:41 +0000 (+1200) Subject: Polish: display easily grepped config lines on -k parse X-Git-Tag: take08~55^2~148 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dad047ab751b3c630c60635f55bc25734f98c339;p=thirdparty%2Fsquid.git Polish: display easily grepped config lines on -k parse --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index c424e98240..9d8c157134 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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