Thanks for the pointer. Yes, I was writing to stdout. I didn't know
about PHP's syslog call
(http://php.net/manual/en/function.syslog.php) which produces output
that goes to systemd log and can be manipulated with journalctl.
That should solve my problem.
On 06/0
On Sun, Sep 3, 2017 at 6:44 PM, David Suna wrote:
> I am getting started with systemd on an Ubuntu 16.04 system. I have a custom
> service implemented in PHP which is outputting messages
How? Writing to stdout?
> which I can see
> using journalctl. I would like to be able to filter on the messag
On Sun, Sep 03, 2017 at 06:44:05PM +0300, David Suna wrote:
> I am getting started with systemd on an Ubuntu 16.04 system. I have
> a custom service implemented in PHP which is outputting messages
> which I can see using journalctl. I would like to be able to filter
> on the message priority to di
I am getting started with systemd on an Ubuntu 16.04 system. I have
a custom service implemented in PHP which is outputting messages
which I can see using journalctl. I would like to be able to filter
on the message priority to distinguish between error messages and
debug