manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1511127 - in /manifoldcf/integration/sharepoint-2010/trunk: ./ CHANGES.txt webservice/ webservice/MCPermissions.cs
Date Tue, 06 Aug 2013 21:38:13 GMT
Author: kwright
Date: Tue Aug  6 21:38:12 2013
New Revision: 1511127

URL: http://svn.apache.org/r1511127
Log:
Fix for CONNECTORS-758.

Modified:
    manifoldcf/integration/sharepoint-2010/trunk/   (props changed)
    manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
    manifoldcf/integration/sharepoint-2010/trunk/webservice/   (props changed)
    manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs

Propchange: manifoldcf/integration/sharepoint-2010/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Tue Aug  6 21:38:12 2013
@@ -0,0 +1 @@
+/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758:1506384-1511126

Modified: manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt?rev=1511127&r1=1511126&r2=1511127&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt Tue Aug  6 21:38:12 2013
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.3-dev =====================
 
+CONNECTORS-758: Change log output to go to trace log.
+(Christian M. Rieck, Will Parkinson, Karl Wright)
+
 ======================= Release 0.2 =====================
 
 CONNECTORS-534: Repackage plugins to have a true binary release,

Propchange: manifoldcf/integration/sharepoint-2010/trunk/webservice/
------------------------------------------------------------------------------
  Merged /manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice:r1506384-1511126

Modified: manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs?rev=1511127&r1=1511126&r2=1511127&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs Tue Aug  6 21:38:12
2013
@@ -26,6 +26,7 @@ using System.Security.Permissions;
 using System.Xml;
 using System.Diagnostics;
 using Microsoft.SharePoint;
+using Microsoft.SharePoint.Administration;
 using System.Net;
 using System.Security.Cryptography.X509Certificates;
 using System.Net.Security;
@@ -78,7 +79,7 @@ namespace MetaCarta.SharePoint.SoapServe
             }
             catch (Exception ex)
             {
-                EventLog.WriteEntry("MCPermissions.asmx", "Error: "+ex.Message+"; SPContext.Current.Web.Url='"+SPContext.Current.Web.Url+"'");
+                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, "Error: "+ex.Message+";
SPContext.Current.Web.Url='"+SPContext.Current.Web.Url+"'", ex.StackTrace);
                 throw RaiseException(ex.Message, "1000", ex.Source);
             }
 
@@ -155,7 +156,7 @@ namespace MetaCarta.SharePoint.SoapServe
             }
             catch (Exception ex)
             {
-                EventLog.WriteEntry("MCPermissions.asmx", ex.Message);
+                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, "Error: "+ex.Message,
ex.StackTrace);
                 throw RaiseException(ex.Message, "1010", ex.Source);
             }
 



Mime
View raw message