nss-util: Add support for $SYSTEMD_NSS_LOG_LEVEL
When setting SYSTEMD_LOG_LEVEL=debug and debugging a tool that happens to do NSS lookups, the resulting logs from varlink are obnoxiously verbose. Let's parse a separate log level environment variable in NSS to allow overriding the log level for NSS specifically so these noisy logs can be silenced.
This commit is contained in:
committed by
Daan De Meyer
parent
81a43a44eb
commit
995c507a6f
@@ -289,6 +289,9 @@ All tools:
|
||||
user/group records for dynamically registered service users (i.e. users
|
||||
registered through `DynamicUser=1`).
|
||||
|
||||
* `$SYSTEMD_NSS_LOG_LEVEL=<level>` — If set, sets the log level for `nss-systemd`
|
||||
and other NSS plugins specifically. Takes priority over `$SYSTEMD_LOG_LEVEL`.
|
||||
|
||||
`systemd-timedated`:
|
||||
|
||||
* `$SYSTEMD_TIMEDATED_NTP_SERVICES=…` — colon-separated list of unit names of
|
||||
|
||||
Reference in New Issue
Block a user