Re: Systemd error messages for custom service
Tzafrir Cohen <[email protected]>
| Newsgroups | gmane.linux.region.israel |
|---|---|
| Message-ID | <[email protected]> |
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 distinguish between error messages and > debug messages. However, all of my messages seem to be showing as > info messages. How can I format my messages so that they will fit > into the different log levels?<br> Not a direct answer, but have you tried filtering using --unit? -- Tzafrir Cohen | tzafrir-/[email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best [email protected] | | friend _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il