From: Daan De Meyer Date: Wed, 31 May 2023 12:18:35 +0000 (+0200) Subject: sysv-generator-test: Bump log level to info X-Git-Tag: v254-rc1~329^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0807bdc2307d1208646e44ab639a929d6fd6b81;p=thirdparty%2Fsystemd.git sysv-generator-test: Bump log level to info Otherwise, non-fatal debug error logs might interfere with the test. --- diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py index 484b610a02e..1fe4153abc4 100755 --- a/test/sysv-generator-test.py +++ b/test/sysv-generator-test.py @@ -52,7 +52,9 @@ class SysvGeneratorTest(unittest.TestCase): parsed generated units. ''' env = os.environ.copy() - env['SYSTEMD_LOG_LEVEL'] = 'debug' + # We might debug log about errors that aren't actually fatal so let's bump the log level to info to + # prevent those logs from interfering with the test. + env['SYSTEMD_LOG_LEVEL'] = 'info' env['SYSTEMD_LOG_TARGET'] = 'console' env['SYSTEMD_SYSVINIT_PATH'] = self.init_d_dir env['SYSTEMD_SYSVRCND_PATH'] = self.rcnd_dir