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 aec6fcc commit e1c8cb0Copy full SHA for e1c8cb0
lean/commands/research.py
@@ -112,6 +112,13 @@ def research(project: Path,
112
environment_name = "backtesting"
113
lean_config_manager = container.lean_config_manager
114
lean_config = lean_config_manager.get_complete_lean_config(environment_name, algorithm_file, None)
115
+
116
+ # If --verbose is given, we use the CompositeLogHandler
117
+ if container.logger.debug_logging_enabled:
118
+ lean_config["log-handler"] = "QuantConnect.Logging.CompositeLogHandler"
119
+ else:
120
+ lean_config["log-handler"] = "QuantConnect.Logging.FileLogHandler"
121
122
lean_config["composer-dll-directory"] = LEAN_ROOT_PATH
123
lean_config["research-object-store-name"] = algorithm_name
124
0 commit comments