Eyal Yavor
Posts: 2
Joined: 2015-03-15
|
Hello,
I'm writing an Outlook Addin that logs its actions through Log4Net onto a file on the filesystem.
In some user installations (especially when the add-in eventually doesn't work on the machine), the log file isn't even created. We thought it may be permissions issues, so we changed the log file directory from C:\Temp to the installation directory - Still no success.
For some of the users, the add-in is partially initialized - We see ribbon icons, and some action happens, but no log file creation happens.
We also found no traces of adloader.log anywhere on client machine.
So:
1. Is there a best practice for log file locations in Add-ins?
2. Are you familiar with permissions issues that may prevent writing log files?
3. How can we investigate add-in load problems, when "VSTO_SUPPRESSDISPLAYALERTS" did not show significant data? Where are the log files for the process before our code is loaded?
Thank you,
Eyal |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Eyal,
The log file missing means the add-in wasn't loaded. We describe possible causes in section "Troubleshooting add-in loading", see the manual. "VSTO_SUPPRESSDISPLAYALERTS" doesn't relate to Add-in Express-based add-ins.
Andrei Smolin
Add-in Express Team Leader |
|