Commit dd2a7e6
committed
log: Clear log_modules after changing log spec
I was expecting to be able to change the logging of a running rr
process by running `rr::apply_log_spec` at runtime under gdb, but
this did not quite work, because unlike `set_all_logging`, it does
not clear the log_modules cache. I think it would be useful for
this to work, so clear log_modules at the end of this function.1 parent 5cbdfed commit dd2a7e6
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments