API Reference
logging
There is no dedicated Quantstrip logging class. Every client script — and the
app itself — uses Python's standard library logging module directly.
Usage
import logging
logger = logging.getLogger(__name__)
logger.info("Order placed")
logger.warning("Retrying after timeout")
logger.error("Failed to reconcile position", exc_info=True)
This pattern is used in every example client in this codebase — see General client template and IBKR template.
Where it goes
The app configures logging centrally, writing to files under Data\logs\ in the
structured format DATETIME - LEVEL - CLIENT - ... - MESSAGE. The
Logging page's client and level filters parse
this format from the log files directly; no database table is involved.
Log level is set per-message, standard Python logging behavior:
logger.debug(...), .info(...), .warning(...),
.error(...), .critical(...). These match the level filter options
on the Logging page.