Skip to content

Commit 4a699f3

Browse files
committed
fix: failing integration tests
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
1 parent f9eaddf commit 4a699f3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

aries_cloudagent/config/logging.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,13 @@ def configure(
168168
if multitenant:
169169
# The default logging config for multi-tenant mode specifies a log file
170170
# location if --log-file is specified on startup and a config file is not.
171-
if not log_config_path and write_to_log_file:
172-
log_config_path = cls.default_multitenant_config_path_ini
171+
# When all else fails, the default single-tenant config file is used.
172+
if not log_config_path:
173+
log_config_path = (
174+
cls.default_multitenant_config_path_ini
175+
if write_to_log_file
176+
else cls.default_config_path_ini
177+
)
173178

174179
cls._configure_multitenant_logging(
175180
log_config_path=log_config_path,

0 commit comments

Comments
 (0)