feat: allow setting misc.log_filters in config.toml (#552)
Allow setting `log_filters` in `config.toml` This allows setting a list of `log_filters` in the `[misc]` section in the `config.toml`. These filters are prepended to any filters listed with `--log-filters`. Finally, `--verbose` can now be used with `--log-filters`, and it will append `debug` to the list of filters rather than replacing it entirely.
This commit is contained in:
@@ -60,6 +60,11 @@
|
||||
# Extra Home Manager arguments
|
||||
#home_manager_arguments = ["--flake", "file"]
|
||||
|
||||
# Extra tracing filter directives
|
||||
# These are prepended to the `--log-filter` argument
|
||||
# See: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
||||
#log_filters = ["topgrade::command=debug", "warn"]
|
||||
|
||||
# Commands to run before anything
|
||||
[pre_commands]
|
||||
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
||||
|
||||
Reference in New Issue
Block a user