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.