Commit 79caf8c
authored
Fix handling of logging contextx in
This small PR:
- adds `[request ID]` contexts to logs emitted from `booster-dev`,
similarly to `kore-rpc-booster`
- the above also makes the per-defined logging contexts
`Booster.CLIOptions` useful again, as they did not match before due to
the absence of `[request ID]`
- redirects the log messages to a file if asked for
- also lists the available logging formats in `--help`booster-dev (#4051)1 parent a370dec commit 79caf8c
File tree
2 files changed
+9
-4
lines changed- booster/library/Booster
- dev-tools/booster-dev
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
0 commit comments