Fail to configure MaxFiles and MaxUse for systemd-journal-remote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey list members,

Sorry to reach out to you this way but I can't figure out a problem on Ubuntu 22.04. I struggle to turn on log rotation. I use version: 249.11-0ubuntu3.6.

The problem is that whenever I set MaxFiles and MaxUse in my /etc/systemd/journal-remote.conf.d/01-central-log.conf or directly in /etc/systemd/journal-remote.conf  I receive this error on service restart:

Jan 27 10:20:11 log-server systemd-journal-remote[949021]: /etc/systemd/journal-remote.conf:18: Unknown key name 'MaxUse' in section 'Remote', ignoring.
Jan 27 10:20:11 log-server systemd-journal-remote[949021]: /etc/systemd/journal-remote.conf:18: Unknown key name 'MaxFiles' in section 'Remote', ignoring.
I have already posted my question on ServerFault with still no response: https://serverfault.com/questions/1121275/rotate-logs-of-systemd-journal-remote

I would be very much helpful for any hint to solve the issue.

Best Antonio

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux