--------------------- PatchSet 10116 Date: 2007/10/08 18:20:28 Author: serassio Branch: nt Tag: (none) Log: syslog facility is not available on all platforms Members: src/main.c:1.45.2.32->1.45.2.33 Index: squid/src/main.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/main.c,v retrieving revision 1.45.2.32 retrieving revision 1.45.2.33 diff -u -r1.45.2.32 -r1.45.2.33 --- squid/src/main.c 3 Oct 2007 12:03:04 -0000 1.45.2.32 +++ squid/src/main.c 8 Oct 2007 18:20:28 -0000 1.45.2.33 @@ -1,6 +1,6 @@ /* - * $Id: main.c,v 1.45.2.32 2007/10/03 12:03:04 serassio Exp $ + * $Id: main.c,v 1.45.2.33 2007/10/08 18:20:28 serassio Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -715,7 +715,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) {