Open lerwys opened 7 years ago
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
This can also prevent log explosion when a continuous error keeps happening
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