The log line comes before the agent logger has been setup, therefore we need to use the UI logging to avoid panic.