From d00a1fd438a4ed0457f8fd8ac90275984564fb92 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 14:28:03 -0800 Subject: [PATCH] docs, logging: clarify debug plumbing and timestamp compatibility --- seaweed-block/docs/operator-guide.md | 5 +++-- seaweed-block/docs/releases/README.md | 1 + seaweed-block/docs/releases/log-format.md | 10 ++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 seaweed-block/docs/releases/log-format.md diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 396a19706a..3731241556 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -21,8 +21,9 @@ that runs it. `blockmaster` and `blockvolume` accept `--log-level info|debug` (default `info`). For the CLI, put the global flag before the subcommand: -`sw-block --log-level debug ops workspace show ...`. Debug adds diagnostic -lines; ordinary logs and every acknowledged HEAD write remain visible at INFO. +`sw-block --log-level debug ops workspace show ...`. This switch configures the +DEBUG filter; additional cut diagnostics follow separately. Ordinary logs and +every acknowledged HEAD write remain visible at INFO. An unsupported level is refused before the command runs. Standard log timestamps are UTC with six fractional digits, for example diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index 69db9043a0..955956d893 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -6,6 +6,7 @@ is still outside the supported boundary. - [v1.0.0](v1.0.0.md) - [Planned cleaning convergence after v1.0.0](cleaning-convergence.md) +- [Diagnostic log format](log-format.md) - [Holder identity and pre-release upgrades](holder-identity.md) - [One live process per volume per host](one-process-per-volume.md) - [Local disk headroom at volume create](local-disk-headroom.md) diff --git a/seaweed-block/docs/releases/log-format.md b/seaweed-block/docs/releases/log-format.md new file mode 100644 index 0000000000..20d910d97e --- /dev/null +++ b/seaweed-block/docs/releases/log-format.md @@ -0,0 +1,10 @@ +# Diagnostic log format + +The logging update changes standard log timestamps in `blockmaster`, +`blockvolume` and `sw-block` to UTC with microseconds, for example +`2026/11/28 22:10:05.123456`. Parsers must accept the fractional suffix and use +UTC for time windows. Structured ready JSON and command answers are unchanged. + +`--log-level info|debug` defaults to `info`; place this global flag before +`ops` in `sw-block`. It configures optional diagnostic output, not authority +or safety decisions. See the [operator guide](../operator-guide.md#logs-and-verbosity).