]> git.pld-linux.org Git - packages/squid.git/blame_incremental - squid-crash-on-ENOSPC.patch
- migrated to apache 2.4
[packages/squid.git] / squid-crash-on-ENOSPC.patch
... / ...
CommitLineData
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 @@
4 if (!lf->flags.fatal)
5 return;
6
7- fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());
8+#if HAVE_SYSLOG
9+ syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerror());
10+#else
11+ debugs(50, 1, "logfileWrite: " << lf->path << ": " << xstrerror());
12+#endif
13 }
14
15 static void
This page took 0.024801 seconds and 4 git commands to generate.