[systemd-devel] Fail to configure MaxFiles and MaxUse for systemd-journal-remote

antonio amaddio antonio.amaddio at gmail.com
Fri Feb 3 08:29:47 UTC 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230203/337f9932/attachment.htm>


More information about the systemd-devel mailing list