]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: implement per unit journal rate limiting
authorAnita Zhang <anitzhang@gmail.com>
Mon, 8 Oct 2018 03:28:36 +0000 (20:28 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Oct 2018 07:56:20 +0000 (09:56 +0200)
commit90fc172e191f44979005a524521112f2bd1ff21b
treec7a62bfde5e0775425b209327d2be623a69ee8c5
parent9fcdab9c8747ab092ac120b58de2ee7b1be9d7db
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
17 files changed:
catalog/systemd.catalog.in
docs/TRANSIENT-SETTINGS.md
man/journald.conf.xml
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/unit.c
src/core/unit.h
src/journal/journald-context.c
src/journal/journald-context.h
src/journal/journald-rate-limit.c
src/journal/journald-rate-limit.h
src/journal/journald-server.c
src/shared/bus-unit-util.c
test/fuzz/fuzz-unit-file/directives.service