]>
Commit | Line | Data |
---|---|---|
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 |