We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9eaddf commit 4a699f3Copy full SHA for 4a699f3
aries_cloudagent/config/logging.py
@@ -168,8 +168,13 @@ def configure(
168
if multitenant:
169
# The default logging config for multi-tenant mode specifies a log file
170
# 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
+ # When all else fails, the default single-tenant config file is used.
+ 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
+ )
178
179
cls._configure_multitenant_logging(
180
log_config_path=log_config_path,
0 commit comments