Managing the Logs

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.
  1. In the Admin Console, go to System > Management > Logging Management
  2. 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.
  3. Reproduce the problem you're troubleshooting so the log will reflect it.
  4. Return to System > Management > Logging Management 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:

  1. Contact a Jive Professional Services engineer or Jive Support to get the latest script and for help with the installation.
  2. 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"
  3. Check the status of the deployment in Central Administration > Manage farm solution so you know when it is complete.
  4. 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
  5. Check the status of the deployment in Central Administration > Manage farm solution so you know when it is complete.
  6. 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"
  7. Use the SharePoint site to run different types of file operations. For example, add, rename, update version, and delete.
  8. 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:

  1. 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"
  2. 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
  3. 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"