journald not associating log messages with service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a simple (non-forking) one-shot service that logs messages via
syslog.  These messages are not being "associated" with the service
unit.  I.e., they don't show up if I use journalctl's -u option
(although they are in the journal).

UPDATE:  I just tried using sd_journal_print, and I'm seeing exactly the
same behavior.

This is a templated service, if that matters.

Any idea what I can do to get these messages properly associated?

(systemd-219-73.el7_8.8.x86_64 on CentOS 7)

Thanks!

--
========================================================================
                 In Soviet Russia, Google searches you!
========================================================================

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux