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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
> http://learn.perl.org/
>
>
>
--
a
Andy Bach,
[email protected]
608 658-1890 cell
608 261-5738 wk