]> git.pld-linux.org Git - packages/squid.git/blame - squid-crash-on-ENOSPC.patch
- migrated to apache 2.4
[packages/squid.git] / squid-crash-on-ENOSPC.patch
CommitLineData
c054e824
JR
1--- squid-3.2.3/src/log/ModStdio.cc~ 2012-10-20 14:39:49.000000000 +0200
2+++ squid-3.2.3/src/log/ModStdio.cc 2012-10-26 12:23:52.502399442 +0200
3@@ -60,7 +60,11 @@
a15b5b98 4 if (!lf->flags.fatal)
8f196190 5 return;
6
a15b5b98
JR
7- fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());
8+#if HAVE_SYSLOG
9+ syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerror());
c054e824
JR
10+#else
11+ debugs(50, 1, "logfileWrite: " << lf->path << ": " << xstrerror());
a15b5b98
JR
12+#endif
13 }
c054e824
JR
14
15 static void
This page took 0.143944 seconds and 4 git commands to generate.