PimpMyLog
PimpMyLog copied to clipboard
Laravel5 config
Laravel 5 has json context inside,
[2017-07-16 08:35:48] local.INFO: the message {"someData":"some data", "more" : {"test" : "true"}}
- whats the proper way to devide betwen message and the json context?
- is it possible to display the json as formatted json?
this is my regex now: "regex" : "|^\\[(.*)\\] (.*)\\.(.*): (.*)( in (\\/(.*)):([0-9]*))*$|U",
Thanks
Hi !
It seems the delimiter between the message and the payload is the ˋ {` string. You can use this to break both parts. But it will fail if the message contains this delimiter...
There is no Json pretty format now.