Fixed the logger, for plugins.