Adds local file logging for NetworkExceptions.