> Sounds like systemd stuff. Why deal with systemd.
Because it's better. Because it logs stuff separated by field, doesn't have problems with unusual characters or newlines, supports cursors, deals internally with log rotation and compression, a whole bunch of cool stuff.
> Use Apache customized logging as the parent comment suggested.
That's exactly what I want to avoid, for reasons explained in my original comment.
Because if you know you need a third value from the logs with ID NNN then you would always receive the third value from NNN message and nothing else. And no regex and locales shenanigans.