
Quoting Trent W. Buck (trentbuck@gmail.com):
Rick Moen <rick@linuxmafia.com> writes:
Quoting Mark Trickett (marktrickett@gmail.com):
The fact it does binary logs is a _very_ _major_ defect in my opinion and experience.
For completeness, I'll note that it's pretty easy to disable the handoff of logging information to systemd-journald and substitute a handoff to rsyslog or syslog-ng, instead. So, for example, the Debian package for systemd defaults to rsyslog as system logger.
Please provide details on this.
I was going by comments from the Debian systemd packager during the huge debian-devel debate of a few years ago. Which it's entirely possible that I didn't understand correctly or have misremembered over the years since then. Personally, I have stepped carefully sideways and simply avoided having it on systems I administer, so all I could tell you from personal and certain knowledge is how Debian Jessie systems behave with systemd banished and a different init in its place. Maybe what the guy said amounted to systemd-logind will still be there but in the Debian packaging is designed to co-exist with syslog. [After doing a bit of remedial reading via Web-searching:] I note this Josh Triplett comment in debian-devel (https://www.mail-archive.com/debian-devel@lists.debian.org/msg332843.html): Hideki Yamane wrote:
We've switched to systemd and I've noticed that journald feature is not enabled. I can easily do it as README.Debian suggested, but wonder why logging by journald is not enabled by default.
Is there any reason? (just a curious)
The in-memory non-persistent journal (/run/log/journal) is enabled; if you run journalctl you can see the logs from the current boot. The on-disk persistent journal (/var/log/journal) is disabled because at the moment, Debian systems use syslog by default (via rsyslog), and enabling the persistent journal would result in two copies of log messages. Since the journal is capable of capturing messages sent to syslog, I'm hoping that at some point the systemd source package will build a binary package that installs /var/log/journal and Provides the system-log-daemon and linux-kernel-log-daemon virtual packages. (As well as a non-default one that provides the same virtual packages but doesn't provide the persistent journal directory, for systems that want transient in-memory logging only.)
Suggest printf(1); echo -e breaks if dash is your login shell.
Good point. Noted. Thanks for your further details on a matter that I ignored when it was a hot topic, and dug into only deeply enough to move sideways to OpenRC when it became personally relevant.