diff options
author | João Valverde <j@v6e.pt> | 2021-06-25 14:29:48 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-06-26 00:18:26 +0100 |
commit | c2c256f0d8afa76599d7c3f3dcfac23c02069209 (patch) | |
tree | adf2e3f7811814bed90b4676a06238786102631f | |
parent | 472eaf911b2b5d61d56f1d2e7b2c81c3f260f739 (diff) |
wslog: Fatal messages should always be active
-rw-r--r-- | wsutil/wslog.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wsutil/wslog.c b/wsutil/wslog.c index 28533bd4f0..62a9eef37f 100644 --- a/wsutil/wslog.c +++ b/wsutil/wslog.c @@ -201,6 +201,12 @@ gboolean ws_log_msg_is_active(const char *domain, enum ws_log_level level) return TRUE; /* + * Check if the level has been configured as fatal. + */ + if (level >= fatal_log_level) + return TRUE; + + /* * The debug/noisy filter overrides the other parameters. */ if (DOMAIN_DEFINED(domain)) { |