mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): support fine-grained server log filtering (#8748)
This commit is contained in:
Generated
+11
-11
@@ -69,7 +69,7 @@ The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is s
|
||||
| Environment | <code>$CODER_TRACE_LOGS</code> |
|
||||
| YAML | <code>introspection.tracing.captureLogs</code> |
|
||||
|
||||
Enables capturing of logs as events in traces. This is useful for debugging, but may result in a very large amount of events being sent to the tracing backend which may incur significant costs. If the verbose flag was supplied, debug-level logs will be included.
|
||||
Enables capturing of logs as events in traces. This is useful for debugging, but may result in a very large amount of events being sent to the tracing backend which may incur significant costs.
|
||||
|
||||
### -c, --config
|
||||
|
||||
@@ -317,6 +317,16 @@ Output human-readable logs to a given file.
|
||||
|
||||
Output JSON logs to a given file.
|
||||
|
||||
### -l, --log-filter
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------- |
|
||||
| Type | <code>string-array</code> |
|
||||
| Environment | <code>$CODER_LOG_FILTER</code> |
|
||||
| YAML | <code>introspection.logging.filter</code> |
|
||||
|
||||
Filter debug logs by matching against a given regex. Use .\* to match all debug logs.
|
||||
|
||||
### --max-token-lifetime
|
||||
|
||||
| | |
|
||||
@@ -948,16 +958,6 @@ Enables trace exporting to Honeycomb.io using the provided API Key.
|
||||
|
||||
Periodically check for new releases of Coder and inform the owner. The check is performed once per day.
|
||||
|
||||
### -v, --verbose
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------------ |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_VERBOSE</code> |
|
||||
| YAML | <code>introspection.logging.verbose</code> |
|
||||
|
||||
Output debug-level logs.
|
||||
|
||||
### --wildcard-access-url
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user