Reply to post: Re: Priorities?

Ubuntu 16.04 LTS arrives today complete with forbidden ZFS

John Sanders
Linux

Re: Priorities?

Gosh... (facepalm)

Well, probably you are talking about a very old problem in the Selinux policies of fedora version 16 or something like that, and it was a Selinux caused problem that prevented messages going into the Journal.

You could do this: StandardOutput=syslog+console and StandardError=syslog+console on your system unit

The systemd.exec(5) man page explains the options you can set to control your daemon logging:

StandardOutput= controls the redirection of stdout. Value can be one of inherit, null, tty, journal, syslog, kmsg, journal+console, syslog+console, kmsg+console or socket

StandardError= controls the redirection of stderr. Values are the same as above with a slight difference for inherit explained in the man page.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon