main: Add support for the logging context when creating the compositor