MODULES:LN_CORE Wrap logging to file in exception catcher