Replies: 1 comment
-
yes this is missing piece from SPD when people are trying to map between syslog and SPD log levels |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
How would you feel about adding a extended syslog sink that would allow user to log to syslog with all syslog log levels. The syslog sink that is provided right now is lacking: LOG_NOTICE, LOG_ALERT and LOG_EMERG and some users might want to use those as well.
How that could be done:
I have working example that I will share once I have greenlight from my organization.
This way, we would have full syslog severities with just extra sink, no impact on any common part of the library. The usage would of course be restricted, e.g. global set_level would have to be used with caution to not try to pass new log levels to non-supporting sinks. We would also have limited filtering, because the new log levels would be higher prio than the critical.
Anyway, please let me know how do you feel about it or if you have better ideas how to approach this, it would be welcomed as well.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions