Product: TIBCO Spotfire®
How to enable Debug logging on Spotfire Analyst Client when the Spotfire client fails to open?
The following method explains the process of enabling debug logging when Spotfire client fails to open
1). Create a backup copy of the file: <Client install dir>TIBCO\Spotfire\x.x\Modules\Spotfire DXP Forms_<Version no>\ Spotfire.Dxp.Main.dll.config e.g. C:\Program Files
\TIBCO\Spotfire\x.x\Modules\Spotfire DXP Forms_<Version no e.g.5.8.3544.22302>\ Spotfire.Dxp.Main.dll.config
Note: The Modules folder may be hidden and it will have to be unhidden from within Window Explorer's folder (view) options.
2). Using a text editor, edit the file: Spotfire.Dxp.Main.dll.config .
3). Uncomment the file appender section that looks like the following.
<!--
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="Spotfire.Dxp.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
-->
by removing the <!-- and --> tags so that the section now looks like:
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="Spotfire.Dxp.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
4). Uncomment the file appender-ref section that looks like: <!-- <appender-ref ref="FileAppender"/> -->by removing the <!-- and --> tags so that the section now looks like: <appender-ref ref="FileAppender"/>
5). Search and replace every instance of: <level value="WARN"/> to: <level value="DEBUG"/>
6). Search for "DisableWindowsErrorReporting" and replace the value "False to "True" in the section that looks like
<setting name="DisableWindowsErrorReporting" serializeAs="String">
<value>False</value>
</setting>
by changing it <setting name="DisableWindowsErrorReporting" serializeAs="String">
<value>True</value>
</setting
7). Save the file. Recreate the problem.
8). A new file "Spotfire.Dxp.log" will be generated in the "<Client install dir>TIBCO\Spotfire\x.x\" folder, which contains all the logs at DEBUG level.
Note: All the above steps have been implemented in the attached "Spotfire.Dxp.Main.dll.config" file. Replace the "Spotfire.Dxp.Main.dll.config" file in the following path " <Client install directory>TIBCO\Spotfire\x.x\Modules\Spotfire DXP Forms_<Version no>\" on your machine with the attached config file.
Comments
0 comments
Article is closed for comments.