Re: Log format: use host name instead of IP

2013-12-03 Thread Jürgen Haas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh, that simple and I have no idea how I could have missed that. Thanks Thomas for your help. Works like a charm. Yours Jürgen On 03.12.2013 17:15, Thomas Heil wrote: > Hi, > > On 03.12.2013 17:03, Jürgen Haas wrote: >> No, I want to have the hostna

Re: Log format: use host name instead of IP

2013-12-03 Thread Thomas Heil
Hi, On 03.12.2013 17:03, Jürgen Haas wrote: > No, I want to have the hostname of the server which is running HaProxy > in the log instead of 127.0.0.1 > According to http://haproxy.1wt.eu/download/1.5/doc/configuration.txt "log-send-hostname []" could be what you want. cheers thomas > On 03.12.

Re: Log format: use host name instead of IP

2013-12-03 Thread Jürgen Haas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, I want to have the hostname of the server which is running HaProxy in the log instead of 127.0.0.1 On 03.12.2013 15:27, Thomas Heil wrote: > Hi, > > On 03.12.2013 11:36, Jürgen Haas wrote: >> Anyone who could help me with this one, please? >> >

Re: Log format: use host name instead of IP

2013-12-03 Thread Thomas Heil
Hi, On 03.12.2013 11:36, Jürgen Haas wrote: > Anyone who could help me with this one, please? > I think you are want to log the Host Header? If so please try -- frontend section .. capture request header Host len 50 -- cheers thomas > On 28.11.2013 14:27, Jürgen Haas wrote: > > Hi all, > > > Not

Re: Log format: use host name instead of IP

2013-12-03 Thread Jürgen Haas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone who could help me with this one, please? On 28.11.2013 14:27, Jürgen Haas wrote: > Hi all, > > Not sure if I'm facing a HaProxy or a Syslog issue here. It's > about the log file format where all my log files like syslog or > error.log from apa

Log format: use host name instead of IP

2013-11-28 Thread Jürgen Haas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Not sure if I'm facing a HaProxy or a Syslog issue here. It's about the log file format where all my log files like syslog or error.log from apache are showing the host name as the second field where HaProxy's log file shows the IP address 127