summaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c
index 214ad2ab..2e3a80ad 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -768,6 +768,7 @@ int log_init(const struct log_info *inf, void *ctx)
if (!osmo_log_info)
return -ENOMEM;
+ osmo_log_info->filter_fn = inf->filter_fn;
osmo_log_info->num_cat_user = inf->num_cat;
/* total number = number of user cat + library cat */
osmo_log_info->num_cat = inf->num_cat + ARRAY_SIZE(internal_cat);