Skip to content

Commit

Permalink
sysv-generator-test: Bump log level to info
Browse files Browse the repository at this point in the history
Otherwise, non-fatal debug error logs might interfere with the test.
  • Loading branch information
DaanDeMeyer committed May 31, 2023
1 parent cc11107 commit a0807bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/sysv-generator-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def run_generator(self, expect_error=False):
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
Expand Down

0 comments on commit a0807bd

Please sign in to comment.