Using the SharePoint Log Viewer, you can monitor the status of the Jive plugin in
SharePoint.
Viewing the SharePoint Logs in Jive
Fastpath: Admin Console: System > Settings >
Jive for SharePoint > SharePoint log viewer
Use the SharePoint Log Viewer when you want to view the logs for a particular
connection without going into your SharePoint file system. You can see logs for a
different connection by choosing it from the menu. Click
Refresh to see the newest information.
Viewing Jive
Logs
You may need to view the
Jive logs or provide
them to Support for troubleshooting. Use the following steps to collect a debug log and
retrieve it in
Jive.
- In the Admin Console, go to
- In the Configuration tab add a logging level override with the name
com.jivesoftware.spintegration and the level
DEBUG. This setting ensures that debug logs will be
collected.
- Reproduce the problem you're troubleshooting so the log will reflect it.
- Return to and select the Log Viewer tab.
Using the SharePoint Diagnostic Tool to Capture SharePoint Events in Logs
With the assistance of a Jive Professional Services engineer, you can capture all
SharePoint events in a log by installing and running the SharePoint Diagnostic tool.
This tool adds logs for any file event fired by SharePoint. This application adds
only log entries. It does not do any further processing.
Note: This installation of this tool requires assistance from
a Professional Services engineer.
To install and use the diagnostic tool:
- Contact a Jive Professional Services engineer or Jive Support to get the latest
script and for help with the installation.
- Install the diagnostics tool by running the following at a command prompt on a
web server in the farm when you have administrator privileges.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\STSADM.EXE" -o addsolution -filename "filename.of.the.wsp"
- Check the status of the deployment in so you know when it is complete.
- When the deployment is complete, run the following command to install a web
scoped feature which is not yet activated.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\STSADM.EXE" -o deploysolution -name "filename.of.the.wsp" -force -immediate -AllowGacDeployment -allcontenturls
- Check the status of the deployment in so you know when it is complete.
- To activate the feature, open a SharePoint 2010 Management Power Shell window
and type the following command.
PS > Enable-SPFeature -identity "Jive.Plugin.Diagnostic_JiveDiagnosticsFeature" -URL "http://URL-TO-SITE-CONNECTED-TO-JIVE-TO-DIAGNOSE"
- Use the SharePoint site to run different types of file operations. For example,
add, rename, update version, and delete.
- Retrieve the logs by typing the following command in a SharePoint 2010
Management Power Shell
window.
PS > Get-SPLogEvent -StartTime (Get-Date).addhours(-1) | Where-Object { $_.area -eq "Jive Integration" } | out-string -width 10000 > log.txt
To uninstall the diagnostic tool:
- To remove the diagnostic tool, open a SharePoint 2010 Management Power Shell window
and type the following command.
PS > Disable-SPFeature -identity "Jive.Plugin.Diagnostic_JiveDiagnosticsFeature" -URL "http://URL-TO-SITE-CONNECTED-TO-JIVE-TO-DIAGNOSE"
- Once the previous step completes, run the following command:
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\STSADM.EXE" -o retractsolution -name "filename.of.the.wsp" -immediate -allcontenturls
- Once the previous step completes, run the following command:
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\STSADM.EXE" -o deletesolution -name "Jive.Plugin.Diagnostic.1.0.0.0.wsp"