Syslog plugin - facility selection #7315
jideel
started this conversation in
Ideas and feature requests
Replies: 3 comments
-
Thanks for suggestion. Would you mind sending a PR for the addition? |
Beta Was this translation helpful? Give feedback.
0 replies
-
OK, i already have working code and patch files against schema.lua and handler.lua. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jideel, It is a new feature, so open it against |
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
-
Select the facility used by the syslog plugin
It would be great if it were possible to configure the syslog Facility used by the plugin.
It's currently hardcoded to lsyslog.FACILITY_USER :
/usr/local/share/lua/5.1/kong/plugins/syslog , line 31
l_open(SENDER_NAME, lsyslog.FACILITY_USER)
Maybe a setting like "config.facility", similar to those described here : https://docs.konghq.com/hub/kong-inc/syslog/ ?
We are using the facility to "route" messages to a centralized log server, and would like to avoid to manually patch the plugin every deployment.
Thank you,
Best regards
Beta Was this translation helpful? Give feedback.
All reactions