1. 09 Nov, 2019 5 commits
  2. 08 Nov, 2019 5 commits
  3. 06 Nov, 2019 2 commits
  4. 04 Nov, 2019 16 commits
  5. 03 Nov, 2019 8 commits
  6. 02 Nov, 2019 1 commit
  7. 30 Oct, 2019 3 commits
    • Gabi Melman's avatar
      Merge pull request #1292 from jktjkt/journald · 6f6cadf3
      Gabi Melman authored
      improve systemd journald support
      6f6cadf3
    • Jan Kundrát's avatar
      journald: structured output for logger's name · 17513a6d
      Jan Kundrát authored
      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 #1289
      17513a6d
    • Jan Kundrát's avatar
      journald: fix source file location · a44560dd
      Jan Kundrát authored
      This is what my manpage says, and what the original blog post [1] says
      as well.
      
      Also, `sd_journal_send` can add the location of its own invocation to
      the log. That's typically not what we want, so we have to suppress that
      feature and instead put whatever is inside the spdlog message into the
      journal.
      
      [1] http://0pointer.de/blog/projects/journal-submit.html
      a44560dd