Huh, news to me:
https://www.loggly.com/ultimate-guide/using-journalctl/

cpan shows at least 5 modules for handling journald stuff, Log::Journald
shows
use Log::Journald;
use Sys::Syslog qw/:macros/;

# Easy.
journal_log(LOG_INFO, "Hello (1) from PID $$!");

# Send arbitrary fields, even binary data
Log::Journald::send(PRIORITY => LOG_INFO,
     MESSAGE => "Hello (2) from PID $$!",
     PERL_PACKAGE => __PACKAGE__,
     _YOLO => "SW\x00AG")
     or warn "Could not send log: $!";

# Raw
Log::Journald::sendv('PRIORITY=6',
     "MESSAGE=Hello (3) from PID $$!");

On Mon, May 18, 2020 at 6:41 AM hw <h...@adminart.net> wrote:

> Hi,
>
> where do messages sent with syslog go when there is only a journal?  When
> using Sys::Syslog, there don't seem to be any messages in the journal.
>
> Does Sys::Syslog need to updated?
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

Reply via email to