About ULS logs in Sharepoint 2010

Posted on 2011-10-12 13:46  项少龙  阅读(186)  评论(0)    收藏  举报

Provides a diagnostic logging category manager for Windows SharePoint Services.

Contains the EventSeverity and TraceSeverity properties for a specific category.

How to use ULS in SharePoint 2010 for Custom Code Exception Logging?

Writing errors to ULS logs and event logs Sharepoint 2010

Here is a sample script for writing your custom entries into ULS log. In WSS 3.0 it was little difficult as there was no any direct APIs to do it like in MOSS. But in 2010 version, SharePoint Foundation (WSS 4.0) also has this facility.

How to write custom logs into ULS logs – SharePoint Foundation 2010 ( WSS 4.0) ?

Logging to ULS in SharePoint 2010

SharePoint 2010 ULS log viewer

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3