<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi</div><div class=""><br class=""></div><div class="">I’m sure I’m being extremely stupid here but I have tried to read the docs ;-)</div><div class=""><br class=""></div><div class="">using the former I get entries in syslog like</div><div class=""><br class=""></div><div style="margin: 0px;" class="">URL: /getHids in /usr/local/openresty/api/bin/../lib/api.pm l. 47</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">With the latter I get</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px;" class="">URL: /getHids</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">I assume I need to tweak the log_format</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">I have tried this (only reference I could find to the format string is in Log4perl)</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px;" class=""> LogReport:</div><div style="margin: 0px;" class=""> log_format: '%a%i%m in %F at %L'</div><div class=""><br class=""></div><div class="">But it continues to just display as before - not even with the ‘in’ or the ‘at’</div><div class="">as indeed does commenting it out - so I assume %a%i%m is a default</div><div class=""><br class=""></div><div class="">Are the log_format string options defined anywhere?</div></div></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">What have I missed?</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">TIA</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">config I am using</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> logger:</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> LogReport:</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> log_format: '%a%i%m in %F at %L'</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> app_name: api</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> dispatchers:</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> default:</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> type: SYSLOG</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> identity: api</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> facility: local0</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> flags: "pid ndelay nowait"</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> mode: DEBUG</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> logsocket:</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> host: 172.16.101.16</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> port: 10010</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""> type: udp</div><div class=""><br class=""></div></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""><br class=""></div><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">— </div><div class="">Clive Eisen</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>