The SAS Add-In for Microsoft Office Message log records information about queries generated via the SAS Financial Management Add-In for Microsoft Excel.
The SAS Add-In for Microsoft Office message log is useful for diagnosing instances of unexpected behavior when using Microsoft Excel applications to retrieve data from SAS applications or SAS servers.
To activate the log, complete the following steps:
For SAS Financial Management release 5.3:
<<drive>:\Program Files\SASHome\x86\SASFinancialManagementAdd-In for Microsoft Excel\5.3>
0 ERROR - only ERROR messages will be displayed in the SAS Add-In for Microsoft Office log
1 WARN - WARNING and ERROR messages will be written to the log
2 INFO - INFORMATION, WARNING, and ERROR messages will be written to the log
3 DEBUG - all messages will be written to the logNote: By default, the logging level is set to INFO ("DebugLevel" value="2") when you initially download this file.
Following this installation, a log window is displayed when Microsoft Office applications are started. The SAS Add-In for Microsoft Office message log applies to all Microsoft Office products, not selectively to Microsoft Excel, Microsoft Word, or Microsoft PowerPoint.
To disable the SAS Add-In for Microsoft Office message log window and direct the SAS Add-In for Microsoft Office message log output to a file, make the following changes to your <SAS.FM.Common.dll.config> file:
<add key="ShowMessageLog" value=...
<add key="LogToExternalFile" value=...>
Your output is directed to a directory similar to the following on the client machine:
<<drive:>\Users\<userid>\AppData\Local\Temp\1\MessageLogFile_xx.txt>
Note that the <messages_> or the <MessageLogFile_> file name is incremented (the 'value' of 'xx' increases) each time new log information is written out to a file.