Monitor SharePoint efficiency (3)-enable tracking log, sharepoint

Source: Internet
Author: User

Monitor SharePoint efficiency (3)-enable tracking log, sharepoint
Zookeeper

SharePoint is an extremely complex system that contains many sub-modules. If each sub-module calls its own logs, the log growth will be very fast, it will occupy a large amount of disk space.

 

Therefore, when the system is running normally, you do not need to enable all the logs. You only need to output detailed tracking logs when a specific module has a problem.

 

Go to the SharePoint management center and find "configuration diagnosis log ":

Here, SharePoint lists all sub-modules that can set the log level:

 

Expand the sub-module and you can see the subdivided functions. Take the SharePoint Server as an example. The functions are listed below. By default, all the functions are information-level logs.

 

Select the target module and adjust the log level below:



The first is to write logs to Windows system logs, and the second is to write logs to SharePoint logs.

 

From top to bottom, the order is from the most urgent to the least urgent. Therefore, to obtain all the logs, You must select the bottom.

 

When detailed tracing logs are enabled, the log will increase rapidly. To protect the system, SharePoint provides some protection measures.

 

First, ensure that the Windows system logs are not too large. If the following options are selected, repeated events are automatically obtained and compressed.

 

For SharePoint logs, you can set the retention days. The default value is 14 days. If the log size is still large within 14 days, you can limit the maximum space occupied by the log. After the log size is exceeded, the previous log is automatically cleared.

 

After tracing log is enabled, you can find more information to diagnose SharePoint problems. However, you must remember that after the diagnosis process is complete, you must change the settings back to avoid a large number of logs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.