From: wessels <> Date: Wed, 5 Aug 1998 13:12:27 +0000 (+0000) Subject: use LOG_NOTICE instead of LOG_ERR X-Git-Tag: SQUID_3_0_PRE1~2928 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d737baa08d54109cd29ad0e948d8496e351064b7;p=thirdparty%2Fsquid.git use LOG_NOTICE instead of LOG_ERR --- diff --git a/ChangeLog b/ChangeLog index 7f31653ee4..ed7988e3f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,7 +29,7 @@ could cause the HTTP incoming connection handler to not be reset. - Changed syslog logging. Now squid debug levels 0 and 1 go - to syslog. Level 0 gets LOG_WARNING and level 1 gets LOG_ERR + to syslog. Level 0 gets LOG_WARNING and level 1 gets LOG_NOTICE (this needs more work!) Changes to squid-1.2.beta23 (June 22, 1998): diff --git a/src/debug.cc b/src/debug.cc index d3ab5617d3..784abad611 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -1,6 +1,6 @@ /* - * $Id: debug.cc,v 1.68 1998/08/05 06:16:32 wessels Exp $ + * $Id: debug.cc,v 1.69 1998/08/05 07:12:27 wessels Exp $ * * DEBUG: section 0 Debug Routines * AUTHOR: Harvest Derived @@ -85,7 +85,7 @@ _db_print(va_alist) tmpbuf[0] = '\0'; vsnprintf(tmpbuf, BUFSIZ, format, args); tmpbuf[1023] = '\0'; - syslog(_db_level == 0 ? LOG_WARNING : LOG_ERR, "%s", tmpbuf); + syslog(_db_level == 0 ? LOG_WARNING : LOG_NOTICE, "%s", tmpbuf); } #endif /* HAVE_SYSLOG */ /* write to log file */