summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;