El vie, 17-03-2017 a las 13:30 -0400, Mike McLean escribió:
I was cleaning up my unmerged branches and found an addendum to the
systemd support from a couple years ago.
https://pagure.io/fork/mikem/koji/commits/systemd-redundant-logfiles
This change:
- ensures that kojid, kojivmd, and kojira have explicit --logfile
options
- allows this option to be specified as 'none'
- adds --logfile=none to their respective systemd ExecStart commands
The reason is that when systemd is in use, we're currently double
logging, both in the traditional log files (e.g. kojid.log) and in
the
systemd journal (e.g. see journalctl -u kojid).
The thing is, I'm curious how folks feel about this. Is it a good
idea,
or will it be to confusing for the original log files to be absent?
I suppose another option to avoid double logging would be to keep
the
log files and turn of the logging in systemd (or at least most of
it). I
suppose it could also be made more configurable.
personally I have just used the journal since we switched to systemd
I would be okay without the kojid.log etc
Dennis