diff --git a/lib/log.c b/lib/log.c index ee9a79f..128779f 100644 --- a/lib/log.c +++ b/lib/log.c @@ -287,6 +287,11 @@ qb_log_callsite_get(const char *function, _custom_filter_fn(cs); } pthread_rwlock_unlock(&_listlock); + } else if (cs->tags != tags) { + cs->tags = tags; + if (_custom_filter_fn) { + _custom_filter_fn(cs); + } } return cs; }