Description
With 2.13, we will change the default logging configuration on Windows to use the Windows Event Log (#8710). The purpose of this issue is to discuss how to move on with logging on other platforms.
Some ideas:
- Switch to syslog by default, there shouldn't really be a need for applications to write their own log files. Given that systemd-journald is now quite widespread on Linux, it also got way nicer to interact with these logs.
- We could think of implementing a
JournaldLogger
(or integrate this into theSyslogLogger
) making use of the sd-journal API. This would for example allow adding more metadata to log entries without having to pollute the log message itself (you can see this additional information for example injournalctl -o json-pretty
).