Now you can see logs when item is added/updated/deleted or content is resent to EPiServer CMS:
Logging on EPiServer CMS side
You can enable logging for virtual path provider for SharePoint and get debug information when CMS users are working with SharePoint files. Also you can debug how SharePoint items are imported with content channel.
On EPiServer CMS side you need to configure logging in EPiServerLog.config file.
You can use existing appenders or define new appenders to debug Connect for SharePoint module:
In this example we have logger named EPiServer.VirtualPathWssProvider which uses 2 appenders to write messages to debug output and to files. Logger name means that this logger will write only messages output by code from namespace EPiServer.VirtualPathWssProvider.
If you want to see how your items are processed in content channel, you can define logger for EPiServer.ContentChannels namespace.
Of course you don’t need to have all debug messages logged to files in normal situation, use All and Debug levels only to debug some issues.
Make sure that application is allowed to write to file in your log directory if you are using file appender.
I prefer to use DebugView tool to read logs for debug purposes. You see messages in DebugView window in real time. You don’t need to think about access rights to write messages on disk. You don’t need reopen any log files to see new messages. It’s easy to filter messages in DebugView to see only required.