0

Is there any way for logging the exceptions into ULS logs on sharepoint 2013 on-premise version? And it should be done using csom only.

1

SPDiagnosticsServiceBase is not available via CSOM.

3
  • Is there any other way to log(whether to sql table or list) those exceptions using CSOM?
    – Arun
    Apr 25 '16 at 15:19
  • If you manually log any encountered errors to a SharePoint List, you could use CSOM to enumerate that list. Apr 25 '16 at 15:21
  • Sorry to troubling you, As I'm new to SharePoint, can you pls explain how to log manually into list on SharePoint Online?
    – Arun
    Apr 25 '16 at 15:24
0

Have a look here:

http://tech.bool.se/log-to-uls-using-javascript/

Although it appears to using SOAP, which I'm personally not fan of.

1
  • Thanks for your update.. Is there anyother way to achieve this using CSOM(not javascript)?
    – Arun
    Apr 27 '16 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.