Move loggers from plugins to the main context