logging: Create a logging handler during init if one doesn't already exist.
If export fails, show the user an error AND log an exception.