From: Amos Jeffries Date: Sat, 6 Oct 2012 11:59:07 +0000 (-0600) Subject: Polish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens X-Git-Tag: SQUID_3_4_0_1~612 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=874d775a6f313e7f6c5bec232edbe7473ce4a1f9;p=thirdparty%2Fsquid.git Polish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens --- diff --git a/src/format/Token.cc b/src/format/Token.cc index adea6bc852..2e67cce435 100644 --- a/src/format/Token.cc +++ b/src/format/Token.cc @@ -527,22 +527,22 @@ done: break; case LFT_HTTP_SENT_STATUS_CODE_OLD_30: - debugs(46, DBG_CRITICAL, "WARNING: The \"Hs\" formatting code is deprecated. Use the \">Hs\" instead."); + debugs(46, DBG_PARSE_NOTE(DBG_IMPORTANT), "WARNING: The \"Hs\" formatting code is deprecated. Use the \">Hs\" instead."); type = LFT_HTTP_SENT_STATUS_CODE; break; case LFT_SERVER_LOCAL_IP_OLD_27: - debugs(46, DBG_CRITICAL, "WARNING: The \"oa\" formatting code is deprecated. Use the \"rp\" instead."); + debugs(46, DBG_PARSE_NOTE(DBG_IMPORTANT), "WARNING: The \"rp\" formatting code is deprecated. Use the \">rp\" instead."); type = LFT_CLIENT_REQ_URLPATH; break; case LFT_REQUEST_VERSION_OLD_2X: - debugs(46, DBG_CRITICAL, "WARNING: The \">v\" formatting code is deprecated. Use the \">rv\" instead."); + debugs(46, DBG_PARSE_NOTE(DBG_IMPORTANT), "WARNING: The \">v\" formatting code is deprecated. Use the \">rv\" instead."); type = LFT_REQUEST_VERSION; break;