nspawn: when --quiet is passed, simply downgrade log messages to LOG_DEBUG (#10181)
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Sep 2018 21:40:39 +0000 (23:40 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 26 Sep 2018 21:40:39 +0000 (23:40 +0200)
commitff6c6cc117245f7717b672ae4dcea22d304aa42f
tree6ac4c7e307650e9797b657727125351554ee9dfd
parent6cf0a204912e8fe21c681ca038c2ff1b9d9ffeb9
nspawn: when --quiet is passed, simply downgrade log messages to LOG_DEBUG (#10181)

With this change almost all log messages that are suppressed through
--quiet are not actually suppressed anymore, but simply downgraded to
LOG_DEBUG. Previously we did it this way for some log messages and fully
suppressed them for others. With this it's pretty much systematic.

Inspired by #10122.
src/nspawn/nspawn.c