mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 09:52:21 +00:00
fix: add dbg log-level output
This commit is contained in:
committed by
Silthus
parent
a4798c498b
commit
02a3e83d53
@@ -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
|
||||
|
||||
@@ -119,7 +121,9 @@ class MysqlContainer(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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user