diff options
author | Anita Zhang <anitzhang@gmail.com> | 2018-10-07 20:28:36 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-18 09:56:20 +0200 |
commit | 90fc172e191f44979005a524521112f2bd1ff21b (patch) | |
tree | c7a62bfde5e0775425b209327d2be623a69ee8c5 /man/journald.conf.xml | |
parent | 9fcdab9c8747ab092ac120b58de2ee7b1be9d7db (diff) | |
download | systemd-90fc172e191f44979005a524521112f2bd1ff21b.tar.gz |
core: implement per unit journal rate limiting
Add LogRateLimitIntervalSec= and LogRateLimitBurst= options for
services. If provided, these values get passed to the journald
client context, and those values are used in the rate limiting
function in the journal over the the journald.conf values.
Part of #10230
Diffstat (limited to 'man/journald.conf.xml')
-rw-r--r-- | man/journald.conf.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 927cd6da82..ed874aace9 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -140,7 +140,13 @@ following units: <literal>s</literal>, <literal>min</literal>, <literal>h</literal>, <literal>ms</literal>, <literal>us</literal>. To turn off any kind of rate limiting, - set either value to 0.</para></listitem> + set either value to 0.</para> + + <para>If a service provides rate limits for itself through + <varname>LogRateLimitIntervalSec=</varname> and/or <varname>LogRateLimitBurst=</varname> + in <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + those values will override the settings specified here.</para> + </listitem> </varlistentry> <varlistentry> |