Re: Systemd error messages for custom service

2017-09-06 Thread David Suna
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

Re: Systemd error messages for custom service

2017-09-06 Thread Yedidyah Bar David
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

Re: Systemd error messages for custom service

2017-09-06 Thread Tzafrir Cohen
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

Systemd error messages for custom service

2017-09-03 Thread David Suna
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