[systemd-devel] Journal, rotation and loglevels

Lennart Poettering lennart at poettering.net
Thu Oct 23 07:50:57 PDT 2014


On Thu, 23.10.14 15:27, D.S. Ljungmark (spider at aanstoot.se) wrote:

> Hi,
>   we have a few services that are spamming a fair bit on DEBUG level of
> log output. In syslog, we'd separate the DEBUG logs from the main log,
> and set the rotation of DEBUG+ to be ~24 hours, while keeping INFO and
> above for ~4 weeks.
> 
> How can we do something similar with Journald?

No, currenty you cannot. You can turn off storage from a certain log
level on (MaxLevelStore=), but you cannot change the retention time
per log level yet.

Also see this thread:

http://lists.freedesktop.org/archives/systemd-devel/2014-October/024348.html

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list