Hi Patrick, On Mon, Jun 03, 2019 at 11:51:12AM -0400, Patrick Hemmer wrote: > Is there a way to have Lua log to syslog only, and not to stderr? When I > call `TXN.log(...)`, the message shows up in syslog AND stderr. > > The Lua documentation implies this is possible as it has this statement > (http://www.arpalert.org/src/haproxy-lua-api/1.9/index.html): > > > The log is sent, according with the HAProxy configuration file, on the > default syslog server if it is configured and on the stderr if it is > allowed. > > So how do I make stderr not allowed? > > In my config, I have the following log related settings in defaults > log 127.0.0.1:514 daemon > option httplog
While I don't know, I'm interested in the outcome in case it is a bug. I'd rather make sure we address this before 2.0 as it will be too late after if anyone starts to rely on this "feature". Willy

