fix: add dbg log-level output

This commit is contained in:
Michael Reichenbach 2021-03-09 11:58:34 +01:00 committed by Silthus
parent a4798c498b
commit 02a3e83d53
1 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,9 @@ class MariadbContainer(Container):
creds = self.get_credentials()
destination = self.backup_destination_path()
verbosity = 2
logger.debug('log_level: %s', self.get_config('log_level'))
verbosity = 3
if self.get_config('log_level') == 'debug':
verbosity = 3
@ -118,8 +120,10 @@ class MysqlContainer(Container):
"""list: create a dump command restic and use to send data through stdin"""
creds = self.get_credentials()
destination = self.backup_destination_path()
logger.debug('log_level: %s', self.get_config('log_level'))
verbosity = 2
verbosity = 3
if self.get_config('log_level') == 'debug':
verbosity = 3