Re: Setting up per-domain logging with haproxy

2018-07-17 Thread Shawn Heisey
On 7/17/2018 2:17 PM, Jonathan Matthews wrote: > That's *entirely* your local syslog daemon's responsibility - > configure it appropriately, and it'll do what you want. I seem to remember there being logging options to have haproxy create logfiles directly, in addition to syslog. But now when I

Re: Setting up per-domain logging with haproxy

2018-07-17 Thread Jonathan Matthews
Hey Shawn, On 17 July 2018 at 19:59, Shawn Heisey wrote: [snip] > Can haproxy be configured to create multiple logfiles? Can the filename > of each log be controlled easily in the haproxy config? Can I use > dynamic info for the logfile name like the value in the Host header? Haproxy has

Setting up per-domain logging with haproxy

2018-07-17 Thread Shawn Heisey
I have a setup that works like this: internet->haproxy->apache->tomcat I have been doing some experiments where the apache server is skipped, and traffic goes directly from haproxy to tomcat. These experiments have gone very well. Removing Apache from the mix would simplify things greatly. I