Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4731

Multiple Log Messages for the same Request to the same Syslog-Server

$
0
0

@dalu wrote:

Hey there guys,

I’m trying to find a way to send multiple log messages (I’m thinking 2 right now) for the same Request to the same Syslog-Server. The reason I want to do this is because I need to print out the http body and all the other metainformation (ClientIP and all that default http-log-format stuff) in the log. This way, though, the log is way too overloaded.

The way I want my log files to look like is given:
2017-10-06 13:27:06 Local0.Info PID metainformation
2017-10-06 13:27:06 Local0.Info SAMEPID http-body-comes-here

The way it looks right for me right now:
2017-10-06 13:27:06 Local0.Info PID metainformation, http-body-comes-here

The logs already have all the information I need, so this is just an idea from a cosmetic point of view.

Cheers,
DL

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>