-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
enhancement(remap): Add to_syslog_level function for parsing Syslog levels into strings #5503
Conversation
ca24fe7
to
0f8d3b3
Compare
Same as my comment in #5501 . I propose we at least call this |
@jszwedko Personally, I'm agnostic on this. Happy to go with the flow re: decisions from our fearless TRL leaders. |
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
75954d6
to
5f0ce9d
Compare
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In absence of https://github.com/timberio/vector/issues/5507, which feels like it might be a little ways off, I'd propose calling this to_syslog_level
. We can always deprecate it and change to syslog::to_level
later.
Otherwise, this looks good to me!
e9522e8
to
2f4445b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to update the function name in a few more places, but otherwise this looks good!
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Fix dependency naming issues Co-authored-by: Jesse Szwedko <jesse@szwedko.me> Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
b3de51e
to
592b551
Compare
Addresses #5500 with a Remap function that converts Syslog severity levels into their corresponding keyword.
Note: the heavy lifting has been done here. I'm marking this as a draft until (a) #5522 lands and (b) we figure out a naming system for modules/namespaces.