Repository navigation
feat(landing): Python logging levels guide - #1574
Merged
Merged
Maple Review Bot / Maple / review
completed
Oct 31, 2026 in 1m 48s
Confidence 6/10 · 1 issue to address
🟡 Confidence 6/10 · needs attention. Held at 6 because a correctness warning is open.
1 warning −1 · tests missing −2 · risk medium · 1 defect fixed in earlier rounds
Adds the Python logging levels guide, new console/python-logging/loguru-output highlighter modes and a LanguageTabs storage-key prop; the snippets and token usage check out. Still open: the earlier /guides/loguru link, which 404s until the parallel guide merges.
highlightgainsconsole,python-logging,loguru-output,nrql,shell,json,javascriptmodesLanguageTabstakes agroupprop as the tab storage key- New
/guides/python-logging-levelspage, listed on /guides and in llms.txt instrumentation-python.mdnow says to callsetLevelinstead ofbasicConfigafter the telemetry handler
Before merge
- Env var · Set
LOG_LEVELin every environment, or confirm its default ·apps/landing/src/pages/guides/python-logging-levels.astro:103 - Manual · Merge the
/guides/loguruguide with or before this one so the link at line 470 resolves
Still open from earlier reviews
- 🟠 Warning · F1 · Link to
/guides/loguruhas no page in this repository ·apps/landing/src/pages/guides/python-logging-levels.astro:541
Production impact
Production traffic of the changed files (last 7 days)
| File | Calls/day | Busiest operations |
|---|---|---|
apps/landing/src/pages/guides/python-logging-levels.astro |
59k | maple 59k/day, 83.1% err |
Ingest cost of new log lines
apps/landing/src/pages/guides/python-logging-levels.astro:41: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:42: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:44: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:66: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:67: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:90: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:91: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:105: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:106: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.apps/landing/src/pages/guides/python-logging-levels.astro:131: If this logs once per call, about 475 MB/month: the file's operations run 59k times a day.
What was checked
- Ran the new highlighter modes on the page's snippets with bun: no throw, escaping and level spans intact
--severity-*,--warningand--chart-*all resolve frompackages/ui/src/styles/tokens.css:94-100,175- Guide's
https://ingest.maple.dev/v1/logsandAuthorization: Bearermatchdocs/guides/instrumentation-python.md:49
3e7c5ed · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading