# Initialize zlog default filters on init rather than waiting for settings load \(\#32209\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3e8565ac25a7cec71e14d291e4ff2fdd2597de94)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3e8565ac25a7cec71e14d291e4ff2fdd2597de94

Requested commit: 3e8565ac25a7cec71e14d291e4ff2fdd2597de94

Commit: 3e8565ac25a7cec71e14d291e4ff2fdd2597de94

Tree: 5a95139af4c23c0fdd56dbfeb908c10534731fa6

Author: Michael Sloan

Committer: GitHub

## Message

```
Initialize zlog default filters on init rather than waiting for settings load (#32209)

Now immediately initializes the zlog filter even when there isn't an env
config. Before this change the default filters were applied after
settings load - I was seeing some `zbus` logs on init.

Also defaults to allowing warnings and errors from the suppressed log
sources. If these turn out to be chatty (they don't seem to be so far),
can bring back more suppression.

Release Notes:

- N/A
```

## Parents

- [d801b7b12e02c0bb918e77d68ea7c2f6dba21c7a](https://git.cafe/gitcafe/zed/commit/d801b7b12e02c0bb918e77d68ea7c2f6dba21c7a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3e8565ac25a7cec71e14d291e4ff2fdd2597de94?format=markdown)
