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