Resolves issue on Windows where logging permission error prevents plugin from loading