Accessing Backtest Log Messages Through the Engine
Summary
This brief forum exchange answers a question about where log messages go during a backtest when using the BacktestingEngine. The questioner observes that the engine stores messages in a logs collection and asks how to access them. The reply says the messages can be viewed through the engine’s logs attribute, clarifying that they are available from the engine object.
The exchange gives a practical debugging pointer for inspecting output from a backtest when messages are not appearing through the strategy’s usual logging call. It does not explain the log format, when entries are added, how to configure logging, or how to export or clear the collection. No code example or broader discussion of backtesting behavior is provided, so the guidance is limited to locating the stored messages.
Key ideas
- Backtest log messages are stored on the engine object’s logs collection.
- The exchange points to the engine logs attribute as the way to inspect those messages.
- The reply does not explain log configuration, message formatting, or export options.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.