Make systemd journal persistent | remove rsyslog (by default)
bryan.quigley at canonical.com
Tue Jan 17 20:46:08 UTC 2017
On Thu, Jan 12, 2017 at 11:20 AM, Jamie Strandboge <jamie at canonical.com> wrote:
> There are two things here:
> 1. make systemd journal persistent
> 2. avoid duplicate logs from rsyslog
> Why not just do '1' and let rsyslog remain? The standard logs are rotated so
> this shouldn't be overly burdensome. Have you measured how much the duplicate
> logs would take on a typical system?
Just doing '1' completely solves my problem and I have not been able
to find any significant performance issues when looking at just boot
That also could lend itself to interim options like logging less to
rsyslog but keeping it for now, which might work around any issues
that come up.
So yes, I'm totally open to just doing '1'.
>> On Wed, Jan 11, 2017 at 5:32 PM, Jamie Strandboge <jamie at canonical.com> wrote:
>> > On Wed, 2017-01-11 at 08:29 +0100, Martin Pitt wrote:
>> > >
>> > > Jamie Strandboge [2017-01-10 16:27 -0600]:
>> > > >
>> > > >
>> > > > Remote logging. Rsyslog is far superior in this regard. Granted, remote
>> > > > logging
>> > > > is not enabled by default but it is a requirement in many environments.
>> > > The systemd-journal-remote package does provide the necessary tools and is
>> > > reasonably flexible (push or pull, builtin https or using arbitrary ports
>> > > which
>> > > you e. g. could forward through ssh). It might not be as flexible as
>> > > rsyslog,
>> > > but as one needs to set up remote logging manually anyway, you always have
>> > > the
>> > > possibility of picking rsyslog, journal, or even something else.
>> > >
>> > Yes, but the 'logged to' system needs to be running systemd. rsyslog
>> > speaks
>> > the standard syslog protocol on 514/udp, but systemd-journal does not.
>> > https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.h
>> > tml
>> > --
>> > Jamie Strandboge | http://www.canonical.com
>> > --
>> > ubuntu-devel mailing list
>> > ubuntu-devel at lists.ubuntu.com
>> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo
>> > /ubuntu-devel
> Jamie Strandboge | http://www.canonical.com
More information about the Ubuntu-devel-discuss