Skip to content

Discuss logging (default configuration on Linux, use of systemd-journald) #8857

@julianbrost

Description

@julianbrost

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 the SyslogLogger) 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 in journalctl -o json-pretty).

Metadata

Metadata

Assignees

Labels

area/logLogging relatedenhancementNew feature or requestneeds feedbackWe'll only proceed once we hear from you again

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions