Commit faa2671
committed
readyset-adapter: Add
This accepts a string argument, e.g.:
```
readyset> ALTER READYSET SET LOG LEVEL 'trace';
Query OK, 0 rows affected (0.00 sec)
```
Addresses: REA-4986
Release-Note-Core: You can now set the log level at runtime using the
`ALTER READYSET SET LOG LEVEL` statement or the `/log_level` HTTP
endpoint. For example: `ALTER READYSET SET LOG LEVEL
'info,readyset_adapter=debug'`; or `curl -X POST -d
'info,readyset_adapter=debug' http://readyset:6033/log_level`.
Change-Id: I6a6a6964c4609e41794d33dff7467d5db7585bda
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/10083
Tested-by: Buildkite CI
Reviewed-by: Johnathan Davis <jcd@readyset.io>ALTER READYSET SET LOG LEVEL statement1 parent 82aff8b commit faa2671
File tree
5 files changed
+21
-4
lines changed- readyset-adapter/src
- readyset-sql-parsing/src
- readyset-sql/src
- analysis
- ast
5 files changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2596 | 2596 | | |
2597 | 2597 | | |
2598 | 2598 | | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
2599 | 2605 | | |
2600 | 2606 | | |
2601 | 2607 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
386 | 391 | | |
387 | 392 | | |
388 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1098 | 1098 | | |
1099 | 1099 | | |
1100 | 1100 | | |
1101 | | - | |
1102 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1103 | 1104 | | |
1104 | 1105 | | |
1105 | 1106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
1092 | | - | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1093 | 1094 | | |
1094 | 1095 | | |
1095 | 1096 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
| |||
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
439 | 443 | | |
440 | 444 | | |
441 | 445 | | |
0 commit comments