Sharepoint2010 provides a logging database to support the management and debugging of administrators and developers. In the past, sharepoint2007 and unified logging system (ULS) can only write ULS log data to the text file, you need to use the corresponding viewing tools to view the content (eg. ulsviewer), mongopoin is capable of writing the ULS record into the text file and writing it into the logging database at the same time, especially with the help of the database, it is more convenient for us to query.
However, sometimes you will find that you cannot find the ULS data table (which is a view named ulstracelog) in the logging datbase (usually called wss_logging) of sharepoint2010 ).
For example:
Therefore, we need to find it through the following steps.
1. Open SharePoint central administration site
2. Find the review job definitions in the Monitoring Section.
3. Select diagnostic data provider: trace log and enable it. After you enable it, you can enter it again and start (run now) immediately)
Return to the SharePoint database and check the result. You can see that ulstracelog has been successfully created.
Another similar step is as follows:
1. Go to administration site --> application management (in the application management module, http: // localhost: Port/_ admin/serviceapplication. aspx)
2. Find the web analytics service application to enable it.
3. Go back to administration site-> Monitoring-> Configure usage and health data collection at http: // localhost: Port/_ admin/logusage. aspx
4. Locate "Enable health data collection" and enable it. Next to this page, find the "Health logging Schedule" link and click it (URL: http: // localhost: port/_ admin/servicejobdefinitions. aspx)
5. Set Service: The view under Microsoft SharePoint Foundation timer to service, locate "diagnostic data provider: trace log" under this view, and enable it.
Sharepoint2010 provides a logging database to support the management and debugging of administrators and developers. In the past, sharepoint2007 and unified logging system (ULS) can only write ULS log data to the text file, you need to use the corresponding viewing tools to view the content (eg. ulsviewer), mongopoin is capable of writing the ULS record into the text file and writing it into the logging database at the same time, especially with the help of the database, it is more convenient for us to query.
However, sometimes you will find that you cannot find the ULS data table (which is a view named ulstracelog) in the logging datbase (usually called wss_logging) of sharepoint2010 ).
For example:
Therefore, we need to find it through the following steps.
1. Open SharePoint central administration site
2. Find the review job definitions in the Monitoring Section.
3. Select diagnostic data provider: trace log and enable it. After you enable it, you can enter it again and start (run now) immediately)
Return to the SharePoint database and check the result. You can see that ulstracelog has been successfully created.
Another similar step is as follows:
1. Go to administration site --> application management (in the application management module, http: // localhost: Port/_ admin/serviceapplication. aspx)
2. Find the web analytics service application to enable it.
3. Go back to administration site-> Monitoring-> Configure usage and health data collection at http: // localhost: Port/_ admin/logusage. aspx
4. Locate "Enable health data collection" and enable it. Next to this page, find the "Health logging Schedule" link and click it (URL: http: // localhost: port/_ admin/servicejobdefinitions. aspx)
5. Set Service: The view under Microsoft SharePoint Foundation timer to service, locate "diagnostic data provider: trace log" under this view, and enable it.