xpnteam / xpnet

Develop X-Plane plugins in .NET.
MIT License
50 stars 15 forks source link

XPNet starts out logging to xpnet.log even when xpnetcfg.json has logging configured to off. #16

Open jaurenq opened 5 years ago

jaurenq commented 5 years ago

If you ever change xpnetcfg.json, logging gets reloaded and suddenly stops.

This has to do with the host environment providing a log handle on initial setup. We need to use its log handle initially but then reset to use the correct/required configuration as soon as possible.