Log Quotas: document the silent 8,192-character per-line truncation of log lines
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 64/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
まず issue に記載された Log Quotas and Backtesting > Deployment > Logs の各ページを確認し、次に Log Messages と Debug Messages セクションで重複抑制の説明を確認し、Export Logs ページで1日のクォータの詳細を確認します。各ページを更新し、タイムスタンプのプレフィックスと文字数の数え方を含む、1行あたり8,192文字の通知されない上限を記載します。また、重複抑制が連続する同一の Debug メッセージに適用されることを明確にし、ログの読み取りまたはダウンロードで1日のクォータが消費されることを明記します。これらの詳細が該当ページに正確に記載されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What the docs say
Log Quotas and Backtesting > Deployment > Logs give two limits: logs per backtest and logs per day, by organization tier. Log Messages adds the live-trading line count and the duplicate-suppression note.
No page states a per-line limit.
What actually happens
A single log line is stored truncated to 8,192 characters, counted after the YYYY-MM-DD HH:MM:SS algorithm-time prefix the engine prepends, so 8,172 characters of the member's own text. There is no marker, no warning and no error: the line simply ends early, and the lines after it are unaffected.
The cut is on characters, not bytes. Measured in cloud backtests on LEAN v2.5.0.0.18230, read back through both /backtests/read/log and /backtests/export/logs (the two routes agree):
| Logged | Stored |
|---|---|
| 32,768 ASCII characters | 8,192 characters / 8,192 bytes |
| 200,000 ASCII characters | 8,192 characters / 8,192 bytes |
6,000 U+20AC characters (18,000 bytes) |
not truncated: 6,029 characters / 18,029 bytes |
9,000 U+20AC characters (27,000 bytes) |
8,192 characters / 24,518 bytes |
| 8,172 ASCII characters | 8,192 characters / 8,192 bytes |
Members writing a JSON summary or a serialized structure to one log line lose the end of it silently, and currently have no documented number to size the line against.
Suggested change
On the Log Quotas page, next to the per-backtest and per-day table, state the per-line limit: a log line is truncated to 8,192 characters including the timestamp prefix, that the count is characters rather than UTF-8 bytes, and that the truncation is silent. The same sentence belongs on Backtesting > Deployment > Logs.
Two smaller points on the same pages while they are open:
- Log Messages says "If you log the same content multiple times, only the first instance is added to the log file." That is
Debugbehavior, and only for a message identical to the one immediately before it (QCAlgorithm.Debug,Algorithm/QCAlgorithm.cs).Logstores every call: three identicalLoglines all appear, while three consecutive identicalDebugmessages collapse to one and aA, B, Asequence keeps all three. The sentence should move to the Debug Messages section and say "identical to the previous one". - The daily quota is consumed by reading or downloading logs, which Export Logs states but the Log Quotas page does not.
Found while answering support conversation 215476693324333.
- 主要言語
- HTML
- スター
- 267
- フォーク
- 190
- 平均マージ
- 8時間 38分
- マージ済み PR(30日)
- 69
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantConnect/Documentation のほかの issue
-
Stale Fills page: market orders now wait for fresh data instead of always filling on stale prices (Lean #9535, #9563)対応中かも @quantconnect-kronos が 3 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
QuantConnect/Documentation#2844 ·
メンテナーはふだん 1 日以内に返信
-
Research resampling example sums quote sizes instead of taking the last size対応中かも @jeevanabhi-r が 4 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
QuantConnect/Documentation#2838 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
QuantConnect/Documentation#2670 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
QuantConnect/Documentation#2139 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Review the Data Analyser Class再び着手できるかも @DerekMelchin が 485 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
QuantConnect/Documentation#2120 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
QuantConnect/Documentation の issue をすべて見る
似ている issue
-
documentation good first issue roadmap
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
postcss/postcss.org#302 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PyTomography/PyTomography#431 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
aws-samples/sample-per-model-bedrock#803 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
earendil-works/pi-claude-code#36 ·
メンテナーはふだん 6 日以内に返信