Skip to content

Conversation

@christophlehmann
Copy link

  • Use static serviceContext as "source". What else should it be?
  • Get rid of "PHP Warning" and introduce severity with "error"
  • Remove "context", because every field is context.
  • Drop the stacktrace, because it too very long (line gets cut off in Loki)
  • Add additionalData. Our Sentry Client could then pass its EventId with it.

Christoph Lehmann added 3 commits January 24, 2024 20:16
* Use static serviceContext as "source". What else should it be?
* Get rid of "PHP Warning" and introduce severity with "error"
* Remove "context", because every field is context.
* Drop the stacktrace, because it too very long (line gets cut off in Loki)
* Add additionalData. Our Sentry Client could then pass its EventId with it.
@christophlehmann christophlehmann changed the title Simplify logging Improve logging Jan 24, 2024
hlubek pushed a commit that referenced this pull request Feb 9, 2026
Lines get cut off, so most important part - the message - is not logged.

* Turn stacktrace logging off by default
* re-order fields by importance


Resolves: #3
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

Successfully merging this pull request may close these issues.

1 participant