mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
c2503e359a
This commit applies the filtering imposed by LogLevelMax on a unit's processes to messages logged by PID1 about the unit as well. The target use case for this feature is a service that runs on a timer many times an hour, where the system administrator decides that writing a generic success message to the journal every few minutes or seconds adds no diagnostic value and isn't worth the clutter or disk I/O.
7 lines
95 B
Desktop File
7 lines
95 B
Desktop File
[Unit]
|
|
Description=Silent successful service
|
|
|
|
[Service]
|
|
LogLevelMax=notice
|
|
ExecStart=/bin/true
|