<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1518309580463_14519">Greetings all, </div><div id="yui_3_16_0_ym19_1_1518309580463_14519"><br></div><div id="yui_3_16_0_ym19_1_1518309580463_14519" dir="ltr">I have been attempting to write my own logfile_daemon for experimental purposes, but any daemon I provide causes "FATAL: I don't handle this error well". I also see "logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)" with no other errors in the cache.log. I have read all possible docs about writing a custom logfile_daemon, but I have had no luck. For testing purposes my daemon is just a bash script that creates a file and pipes random text to it. The creation of the file/writing text to the file works fine, but soon after squid just dies. I have no help from the cache.log or squid.out.</div><div id="yui_3_16_0_ym19_1_1518309580463_14519" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1518309580463_14519" dir="ltr">The only line I have added to my squid.conf is "<span style="font-family: Menlo; font-size: 9pt; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1518309580463_24421">logfile_daemon /etc/squid/hi.sh". This causes the fatal error. I have also tried explicitly setting my access_log directive as well "</span><span style="font-family: Menlo; font-size: 9pt; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1518309580463_26079">access_log daemon:/var/log/squid/access.log squid", but that still does not work. Thanks in advance.</span></div><div id="yui_3_16_0_ym19_1_1518309580463_14519" dir="ltr"><span style="font-family: Menlo; font-size: 9pt; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1518309580463_14519" dir="ltr"><span style="font-family: Menlo; font-size: 9pt; white-space: pre-wrap;">-Mike</span></div><pre style="font-family: Menlo; font-size: 9pt;" id="yui_3_16_0_ym19_1_1518309580463_24422"><br id="yui_3_16_0_ym19_1_1518309580463_24423"></pre></div></body></html>