This can be easily modified for whatever log parsing purpose you have that matches this structure.
For Example I use this on postgres logs so I can easily group each message together. When postgres logs queries if there is a lf/cr then it copies it verbatim. I suppose you could try to change this in the postgres config for logging not sure if it would be possible or a good idea but you can use this regex to help. |