mirror of https://github.com/gabime/spdlog.git
journald: structured output for logger's name
Previously, the logger name was effectively lost. There were two choices on how to add it: - Via a formatter, which would mean that `journalctl` would not be able to filter against that. That would be suboptimal. - As a "syslog identifier". This means that `journalctl` will, by default, stop showing the daemon's executable name and replace that via the logger name. The PID is still shown, and if one would like to go back to the previous behavior, it is still possible via `journalctl -o with-unit`. I think that the second option is strictly better than the first one. fixes #1289pull/1292/head
parent
a44560ddb6
commit
17513a6dce
Loading…
Reference in New Issue