Skip to content
Commit b599ad77 authored by Marius Vlad's avatar Marius Vlad
Browse files

compositor: Create the 'log' scope much earlier



Logging should start as early as possible so create the log scope as
early as possible, before subscribing to it.

Open the logfile before creating the 'logger' subscriber, making sure
we're logging to the file properly.

Also migrate `weston_log_set_handler()` to avoid potential calls to
`weston_log` before installing the log handler.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 284d5345
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment