]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: allow running all the services with SYSTEMD_LOG_LEVEL
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 15 Feb 2022 01:13:10 +0000 (01:13 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 16 Feb 2022 04:50:51 +0000 (07:50 +0300)
commitbf6ef6b6a9156e5f52ee69ce0c529a246f103e54
tree7937bbbde39a2254d42f14b61d6f9dace7260c54
parentf55fe53ffce351bb55b6190cf36511c37f99d766
tests: allow running all the services with SYSTEMD_LOG_LEVEL

It should make it easier to figure out what exactly services do there.
For example, with SYSTEMD_LOG_LEVEL=debug userdbd (v249) prints
```
varlink-5: New incoming message: {"method":"io.systemd.UserDatabase.GetUserRecord","parameters":{}}
```
before it crashes and systemd-resolved prints
```
varlink-21: New incoming message: {"method":"io.systemd.Resolve.ResolveAddress","parameters":{"address":[127,0,0,1],"flags":0,"ifindex":1000000,"family":0}}
```
and those messages are helpful (especially when scripts causing them
aren't clever enough to keep track of random stuff they send to systemd
:-))
test/test-functions