1).Open the web players web.config(default path is "C:\Program Files\TIBCO\Spotfire Web Player\x.x.x\webroot").
2). Search for "<appSettings>" and add "<add key="log4net.Internal.Debug" value="true"/>" between "<appSettings>" and "</appSettings>" so it resembles the following:
<appSettings>
<add key="log4net.Internal.Debug" value="true"/>
</appSettings>
3). If you cannot find "<appSettings>" in web.config, then add the following between the "<configuration>" and "</configuration>" tags so it looks something like:
<configuration>
<appSettings>
<add key="log4net.Internal.Debug" value="true"/>
</appSettings>
</configuration>
4). Just beneath "</appSettings>" add the following but change the value of "initializeData"
to where you'd like to save the log file:
<system.diagnostics>
<trace autoflush="true">
<listeners>
<add
name="textWriterTraceListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="C:\Program Files\TIBCO\Spotfire Web Player\x.x.x\Logfiles\log4netlog.txt" />
</listeners>
</trace>
</system.diagnostics>
5). Save the web.config file and restart IIS to enable the changes.