From: serassio <> Date: Sun, 19 Feb 2006 18:21:07 +0000 (+0000) Subject: Bug #1485: logformat debugging messages X-Git-Tag: SQUID_3_0_PRE4~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=944113fe07219c4facce0fe47dc19111b5f817c9;p=thirdparty%2Fsquid.git Bug #1485: logformat debugging messages Patch provided by Gonzalo Arana. --- diff --git a/src/access_log.cc b/src/access_log.cc index 73b939fccc..5982b4031e 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -1,6 +1,6 @@ /* - * $Id: access_log.cc,v 1.109 2006/02/18 00:04:30 wessels Exp $ + * $Id: access_log.cc,v 1.110 2006/02/19 11:21:07 serassio Exp $ * * DEBUG: section 46 Access Log * AUTHOR: Duane Wessels @@ -1085,7 +1085,7 @@ accessLogParseLogFormat(logformat_token ** fmt, char *def) logformat_token *new_lt, *last_lt; enum log_quote quote = LOG_QUOTE_NONE; - debug(46, 1) ("accessLogParseLogFormat: got definition '%s'\n", def); + debug(46, 2) ("accessLogParseLogFormat: got definition '%s'\n", def); /* very inefficent parser, but who cares, this needs to be simple */ /* First off, let's tokenize, we'll optimize in a second pass. diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 27c190fc57..3300fde07e 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.487 2005/12/26 11:35:22 serassio Exp $ + * $Id: cache_cf.cc,v 1.488 2006/02/19 11:21:07 serassio Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -3195,7 +3195,7 @@ parse_logformat(logformat ** logformat_definitions) if ((def = strtok(NULL, "\r\n")) == NULL) self_destruct(); - debug(3, 1) ("Logformat for '%s' is '%s'\n", name, def); + debug(3, 2) ("Logformat for '%s' is '%s'\n", name, def); nlf = (logformat *)xcalloc(1, sizeof(logformat));