PimpMyLog icon indicating copy to clipboard operation
PimpMyLog copied to clipboard

Laravel5 config

Open avifatal opened this issue 8 years ago • 1 comments

Laravel 5 has json context inside, [2017-07-16 08:35:48] local.INFO: the message {"someData":"some data", "more" : {"test" : "true"}}

  1. whats the proper way to devide betwen message and the json context?
  2. is it possible to display the json as formatted json?

this is my regex now: "regex" : "|^\\[(.*)\\] (.*)\\.(.*): (.*)( in (\\/(.*)):([0-9]*))*$|U",

Thanks

avifatal avatar Jul 17 '17 06:07 avifatal

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.

potsky avatar Jul 29 '17 12:07 potsky