Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How do I use the Journalling API (https://www.kernel.org/doc/html/v4.19/filesystems/index.html#the-linux-journalling-api) from Perl?
  • Comment on How to access Journalling API from Perl, please

Replies are listed 'Best First'.
Re: How to access Journalling API from Perl, please
by afoken (Chancellor) on Jan 17, 2024 at 19:34 UTC

    Is this related to How to instantaneously automatically save? If yes, please don't waste everybody's time and stay in that thread.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: How to access Journalling API from Perl, please
by Discipulus (Canon) on Jan 18, 2024 at 09:07 UTC
    Did you looked at Linux::Systemd::Journal::Read?

    PS ..ops sorry I misread which journal: see hippo below (..the river surface :)

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      The systemd journal is quite a separate thing from filesystem journals (unfortunately for the purposes of this question but fortunately for anyone actually wanting robust filesystems).


      🦛

Re: How to access Journalling API from Perl, please
by InfiniteSilence (Curate) on Jan 18, 2024 at 00:01 UTC

    Perlmonks should turn off the ability to ask questions as Anonymous Monk and force people to take, what, 2 minutes to register an account?

    Celebrate Intellectual Diversity

      Wouldn't help much.

      Actually having ppl create a new account each time they burned their last "identity" would be even worse.

      AnoMonk is treated with suspicion anyway.

      Anyway better judge posts by content than by author and try to keep your cool¹.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

      ¹) I don't say I'm a role model in this respect ;-)