Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel5 config #122

Open
avifatal opened this issue Jul 17, 2017 · 1 comment
Open

Laravel5 config #122

avifatal opened this issue Jul 17, 2017 · 1 comment

Comments

@avifatal
Copy link

avifatal commented Jul 17, 2017

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

@potsky
Copy link
Owner

potsky commented Jul 29, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants