...
- Locate the
web.config
for your SharePoint web application. For example, you may find it at the following location:C:\Inetpub\wwwroot\wss\VirtualDirectories\80
- Edit the
web.config
file and add or update the<system.diagnostics
> node within the root <configuration> node as follows:- If there is already an existing
<system.diagnostics
> node, replace it with the following node. If there is no existing
<system.diagnostics
> node, add the following node just above the last line in the file that contains</configuration>
.Code Block xml xml title web.config snippet <system.diagnostics> <switches> <!-- 0=none, 1-errors, 2=warnings, 3=info, 4=verbose --> <add name="Atlassian.Confluence.SharePoint.Trace" value="4" /> </switches> </system.diagnostics>
- If there is already an existing
- Save the config file.
- Reset IIS.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<system.diagnostics>
<switches>
<!-- 0=none, 1-errors, 2=warnings, 3=info, 4=verbose -->
<add name="Atlassian.Confluence.SharePoint.Trace" value="4" />
</switches>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="myListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="c:\SharePointConnector.log" />
<!--<remove name="Default" /> -->
</listeners>
</trace>
</system.diagnostics>
|
...
The easiest way to view the trace is to download DebugView onto your SharePoint web server. When using this tool, make sure you go to the 'Capture' menu and choose 'Capture Win32'.
...