Change the logging system to be per-context