• hirihit640@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    Even systems that use text logs, compress logs using logrotate and you have to uncompress before you can read them. Also since the compressed tar.gz logs are a bunch of separate files, if you don’t have an exact date of what you’re looking for, you have to uncompress and search through all of them. I much prefer just using journalctl

    • Illecors@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      I mean… zless and zgrep have been a thing since forever ago. And some distros ship with lessopen(?) preinstalled, so it’s seemless.

      There are only so many times I’m willing to put up with lost logfile due to a crash. Logrotate wouldn’t do this.

      • hirihit640@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 minutes ago

        But then you aren’t just using a text editor anymore. If you’re willing to use programs like zless and zgrep, then you can just as easily use journalctl. And I’ve never lost a logfile before, over many years, so not to discredit your experience but at least in my experience journald has been an upgrade