Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

[all] Use syslog system facility to uniformize logs #156

Open
lerwys opened this issue Apr 11, 2017 · 1 comment
Open

[all] Use syslog system facility to uniformize logs #156

lerwys opened this issue Apr 11, 2017 · 1 comment

Comments

@lerwys
Copy link
Contributor

lerwys commented Apr 11, 2017

Problem: Log facility is cumbersome to use as we need to recompile the software to change it.

Solution: Evaluate the usage of syslog to this purpose. An example can be seen here: https://github.com/zeromq/czmq/blob/afe53529aa4d49eb57e8486c975c9b77b382aaf3/src/zsys.c

@lerwys
Copy link
Contributor Author

lerwys commented Feb 27, 2018

This can also prevent log explosion when a continuous error keeps happening

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant