Open bmario opened 1 month ago
There is the syslog2 python package that provides a SyslogLogHandler.
This takes several arguments, which are interesting.
address
should be parsed from the argument provided by the user to --syslog
address == "local"
hostname:port
format -> address == value.split(":")
address == value
facility
should probably be set "daemon" or "user"program
should be the MetricQ token, this might turn out as impossible
Depends on #188
--syslog
-> enables directly logging to syslog server and optionally argument the targeted syslog server (instead of default syslog socket)