]>
Commit | Line | Data |
---|---|---|
cdabeaf1 AM |
1 | --- squid-4.2//src/log/ModStdio.cc~ 2018-08-05 16:13:41.000000000 +0200 |
2 | +++ squid-4.2//src/log/ModStdio.cc 2018-09-20 20:19:38.877856849 +0200 | |
3 | @@ -46,7 +46,11 @@ logfileWriteWrapper(Logfile * lf, const | |
a15b5b98 | 4 | if (!lf->flags.fatal) |
8f196190 | 5 | return; |
6 | ||
cdabeaf1 | 7 | - fatalf("logfileWrite: %s: %s\n", lf->path, xstrerr(xerrno)); |
a15b5b98 | 8 | +#if HAVE_SYSLOG |
cdabeaf1 | 9 | + syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerr(xerrno)); |
c054e824 | 10 | +#else |
cdabeaf1 | 11 | + debugs(50, 1, "logfileWrite: " << lf->path << ": " << xstrerr(xerrno)); |
a15b5b98 JR |
12 | +#endif |
13 | } | |
c054e824 JR |
14 | |
15 | static void |