Skip to content

Commit

Permalink
fix: failing integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Akiff Manji <[email protected]>
  • Loading branch information
amanji committed Apr 26, 2024
1 parent f9eaddf commit 4a699f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions aries_cloudagent/config/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@ def configure(
if multitenant:
# The default logging config for multi-tenant mode specifies a log file
# location if --log-file is specified on startup and a config file is not.
if not log_config_path and write_to_log_file:
log_config_path = cls.default_multitenant_config_path_ini
# When all else fails, the default single-tenant config file is used.
if not log_config_path:
log_config_path = (
cls.default_multitenant_config_path_ini
if write_to_log_file
else cls.default_config_path_ini
)

cls._configure_multitenant_logging(
log_config_path=log_config_path,
Expand Down

0 comments on commit 4a699f3

Please sign in to comment.