mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
docs, logging: clarify debug plumbing and timestamp compatibility
This commit is contained in:
1 parent
52207a9bc5
commit
d00a1fd438
3 files changed
+14
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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).
|
||||
Reference in new issue
Block a user