The XLL+ development tools use the Apache Foundation's log4net logging library. For information on log4net, see the Apache log4net web-site at http://logging.apache.org/log4net/.
When installed, the XLL+ development tools are set to report ERROR level
messages only. These messages are written to a text file, xllplus.log
,
located in the user's TMP directory. You can view it by typing in a console
window as follows:
notepad %TMP%\xllplus.log
XLL+ reads its log4net settings from the log4net configuration file,
XlpLogSettings.log4net.xml
.
It first looks in the user's
application directory: [User Settings]\Application Data\Planatech\XLL+\6.0\VS8.0
(e.g. C:\Documents and Settings\MyName\Application Data\Planatech\XLL+\6.0\VS8.0
).
If a copy of the file is found there, then that is used.
If no file is found in the user's application directory, then XLL+ looks in the
XLL+ binaries directory, [Program files]\Planatech\XLL+\6.0\VS8.0\bin
.
To switch on all levels of logging, change the
value
attribute of the
root/level
element to "DEBUG":
<root> <level value="DEBUG" /> <appender-ref ref="FileAppender" /> </root>
To view the log in the Visual Studio output window, add the
VsAppender
appender:
<root> <level value="DEBUG" /> <appender-ref ref="FileAppender" /> <appender-ref ref="VsAppender" /> </root>