fix: use method to get log level config
This commit is contained in:
parent
b0259512cc
commit
a4798c498b
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class MariadbContainer(Container):
|
||||||
destination = self.backup_destination_path()
|
destination = self.backup_destination_path()
|
||||||
|
|
||||||
verbosity = 2
|
verbosity = 2
|
||||||
if self.get_config.log_level == 'debug':
|
if self.get_config('log_level') == 'debug':
|
||||||
verbosity = 3
|
verbosity = 3
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -120,7 +120,7 @@ class MysqlContainer(Container):
|
||||||
destination = self.backup_destination_path()
|
destination = self.backup_destination_path()
|
||||||
|
|
||||||
verbosity = 2
|
verbosity = 2
|
||||||
if self.get_config.log_level == 'debug':
|
if self.get_config('log_level') == 'debug':
|
||||||
verbosity = 3
|
verbosity = 3
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Add table
Reference in a new issue