# zlog: Fix incorrect assumption with filters \(\#29428\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 136e83e0b191d9f58793cd6e97a2fac6b8ff564c

Requested commit: 136e83e0b191d9f58793cd6e97a2fac6b8ff564c

Commit: 136e83e0b191d9f58793cd6e97a2fac6b8ff564c

Tree: 47691d4e5e9b5c9fc450f9a99483da0560528558

Author: Ben Kunkle

Committer: GitHub

## Message

```
zlog: Fix incorrect assumption with filters (#29428)

- **do not assume logs over LEVEL_ENABLED_MAX_STATIC (the static global
log level) are enabled**
- **make it so filters that are just module names get overridden by
submodule path filters**

Closes #ISSUE

Release Notes:

- N/A
```

## Parents

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

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