Some system logging products (especially commercial ones), only supports separation of incoming syslog packets by facility code. In the current version, all syslog logging done as 'user'. I am attaching a patch, which does following:
If configuration has 'logging.syslog.facility' string value, it uses given value while calling 'openlog' function.
For security reasons, attached patch only allows 'user', 'local0', .... 'local7' facilities to be specified in the configuration.
Artyom,
I don't know how you feel about adding new functionality to already completed features, but in my opinion, this feature should be included with completely backward-compatible way (which is true for given patch).
Regards.
Anonymous
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
No problem, the patch seems ok.
However I need copyright transfer confirmation from you:
http://cppcms.com/wikipp/en/page/cppcms_1x_coding_standards#Copyrights
Artyom (posted accidentially as anonymous)
Last edit: Artyom Beilis 2017-02-25
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Regards,
Nazım Can Bedir.
Thanks for the patch,
Implemented in trunk changeset #2417