|
|
@ -169,7 +169,7 @@ class ConfigFile:
|
|
|
|
with open(self.config_path, encoding="utf-8") as fp:
|
|
|
|
with open(self.config_path, encoding="utf-8") as fp:
|
|
|
|
logger.separator("Redacted Config", space=False, border=False, debug=True)
|
|
|
|
logger.separator("Redacted Config", space=False, border=False, debug=True)
|
|
|
|
for line in fp.readlines():
|
|
|
|
for line in fp.readlines():
|
|
|
|
logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n")))
|
|
|
|
logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|delete|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n")))
|
|
|
|
logger.debug("")
|
|
|
|
logger.debug("")
|
|
|
|
|
|
|
|
|
|
|
|
self.data = YAML(self.config_path).data
|
|
|
|
self.data = YAML(self.config_path).data
|
|
|
|