From 35b1ed57d2a25e07f619a4ff7e108cfcc637c0ed Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 8 May 2020 20:20:48 +0300 Subject: main: Subscribe to the logger scope This is a no-op as the compositor isn't yet using the logging framework, but will be added in subsequent patches. Bug-AGL: SPEC-3352 Signed-off-by: Marius Vlad Change-Id: Ieda47de45de621b095163d0e682e665c36484175 --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index df97b24..a3c1cb2 100644 --- a/src/main.c +++ b/src/main.c @@ -1177,6 +1177,7 @@ int main(int argc, char *argv[]) weston_log_set_handler(vlog, vlog_continue); logger = weston_log_subscriber_create_log(logfile); + weston_log_subscribe(log_ctx, logger, "log"); if (load_config(&ivi.config, no_config, config_file) < 0) goto error_signals; -- cgit 1.2.3-korg