1. 20
  1.  

  2. 6

    This is my first real blog post and it probably has some errors. This was also made before the release of the Native Journal Protocol spec which has more authoritative information and a few things I missed. (I’m posting as a comment as I’m not entirely sure if this fits in the text field, this is also my first post on lobste.rs IIRC)

    1. 4

      Great post! Journald is one of those great advantages that come with some of the costs of systemd. The fact that no libraries are needed to write to it and you just need to print to stdout feels so natural to me.

      Are you planning on doing a follow-up post with how to get things out of journald? You had some great journalctl commands in there and there’s so much more that it can do than just mimicking a syslog-grep.

      1. 2

        Thanks! I don’t have any plans for that but it sounds like a great idea. I really need to learn a lot more about journalctl. I actually wrote this to help me understand what I need to do for my WIP journald “rewrite it in rust” side project. Unfortunately it’s been sidetracked because of work.