mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #589] Logstashformatter level_name used for level #207
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#207
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simitter on GitHub (Jun 24, 2015).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/589
In v1 the field level contains level_name instead of the numeric representation
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/LogstashFormatter.php#L147
Is this a desired behavior or an oversight/bug?
@Seldaek commented on GitHub (Jun 24, 2015):
The point is that those names are more readable and constant over time, while the numeric values might well change and don't convey so much information to someone that is not familiar with monolog.
@simitter commented on GitHub (Jun 24, 2015):
Thanks for the explanation.
i'll migrate my kibana filters to use the name.