--------------------- PatchSet 11769 Date: 2007/11/26 10:47:23 Author: adrian Branch: SQUID_2_6 Tag: (none) Log: Author: serassio Patchset 11721 (HEAD): syslog facility is not available on all platforms Members: src/main.c:1.393.2.5->1.393.2.6 Index: squid/src/main.c =================================================================== RCS file: /cvsroot/squid/squid/src/main.c,v retrieving revision 1.393.2.5 retrieving revision 1.393.2.6 diff -u -r1.393.2.5 -r1.393.2.6 --- squid/src/main.c 2 Oct 2007 01:03:53 -0000 1.393.2.5 +++ squid/src/main.c 26 Nov 2007 10:47:23 -0000 1.393.2.6 @@ -1,6 +1,6 @@ /* - * $Id: main.c,v 1.393.2.5 2007/10/02 01:03:53 hno Exp $ + * $Id: main.c,v 1.393.2.6 2007/11/26 10:47:23 adrian Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -710,7 +710,9 @@ #endif mainParseOptions(argc, argv); +#if HAVE_SYSLOG && defined(LOG_LOCAL4) openlog(appname, LOG_PID | LOG_NDELAY | LOG_CONS, syslog_facility); +#endif #if defined(USE_WIN32_SERVICE) && defined(_SQUID_WIN32_) if (opt_install_service) {