summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-08 20:20:48 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-05-12 22:25:35 +0300
commit35b1ed57d2a25e07f619a4ff7e108cfcc637c0ed (patch)
tree10b7c20a6ae15514ce8c7c6aacb7fbd8a45a141e
parent6e60f22455cbff6079792325da96d5a17ad50cb6 (diff)
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 <marius.vlad@collabora.com> Change-Id: Ieda47de45de621b095163d0e682e665c36484175
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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;