Shopware writes a ton of log messages. That is great if you’re looking for something, as you can be quite sure that it’s in there – somewhere.
But getting an overview and finding the right error message in 100 lines of log per request can be tricky, so highlighting helps.
Today I configured Ideolog to highlight *.log files with the shopware log format. There is no way to add microseconds and I didn’t get milliseconds to work either – until I restarted PHPstorm. So I guess you can have microseconds as well, but for me, it works fine without them:
|Message start pattern|
|Time capture group||1|
|Severity capture group||3|
|Category capture group||2|
And a blogpost about Symfony format recommended to add a Severity pattern with this nice format:
Anyway, that does the trick.
If you have another working setup, feel free to leave a comment!