feat(cli): support fine-grained server log filtering (#8748)

This commit is contained in:
Ammar Bandukwala
2023-07-26 16:46:22 -05:00
committed by GitHub
parent 4e9e480cc6
commit 25e30c6f41
16 changed files with 148 additions and 60 deletions
+1
View File
@@ -236,6 +236,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
"logging": {
"human": "string",
"json": "string",
"log_filter": ["string"],
"stackdriver": "string"
},
"max_session_expiry": 0,
+9 -5
View File
@@ -2026,6 +2026,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
"logging": {
"human": "string",
"json": "string",
"log_filter": ["string"],
"stackdriver": "string"
},
"max_session_expiry": 0,
@@ -2382,6 +2383,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
"logging": {
"human": "string",
"json": "string",
"log_filter": ["string"],
"stackdriver": "string"
},
"max_session_expiry": 0,
@@ -3119,17 +3121,19 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
{
"human": "string",
"json": "string",
"log_filter": ["string"],
"stackdriver": "string"
}
```
### Properties
| Name | Type | Required | Restrictions | Description |
| ------------- | ------ | -------- | ------------ | ----------- |
| `human` | string | false | | |
| `json` | string | false | | |
| `stackdriver` | string | false | | |
| Name | Type | Required | Restrictions | Description |
| ------------- | --------------- | -------- | ------------ | ----------- |
| `human` | string | false | | |
| `json` | string | false | | |
| `log_filter` | array of string | false | | |
| `stackdriver` | string | false | | |
## codersdk.LoginType