]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Set SYSTEMD_NSS_LOG_LEVEL=info
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Tue, 23 Dec 2025 21:08:09 +0000 (22:08 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 Jan 2026 11:03:07 +0000 (12:03 +0100)
Currently, our test logs are flooded with useless NSS varlink debug
logs coming from nss-systemd talking to each varlink userdb service
individually. Let's set SYSTEMD_NSS_LOG_LEVEL=info to get rid of these
verbose logs.

test/test.service.in

index 7d1a5ecc996a2c0ad7bc02ca74f2a05ce54f7b47..33060e42507f88a95d21460e62e90073b662d39c 100644 (file)
@@ -11,6 +11,6 @@ ExecStart=@command@
 ExecStartPost=/usr/lib/systemd/tests/testdata/units/post.sh
 Type=oneshot
 MemoryAccounting=@memory-accounting@
-Environment=SYSTEMD_PAGER= @env@
+Environment=SYSTEMD_PAGER= SYSTEMD_NSS_LOG_LEVEL=info @env@
 UnsetEnvironment=JOURNAL_STREAM
 @service@