在日志中找不到SharePoint 2010错误,如何配置日志记录? [英] SharePoint 2010 error not found in logs, how to configure logging?

查看:102
本文介绍了在日志中找不到SharePoint 2010错误,如何配置日志记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个SharePoint 2010功能,该功能在我的开发计算机上可以正常运行,但是在登台系统上无法激活.它受SiteCollection的限制,包含的解决方案已成功部署在一个WebApplication上.

We have a SharePoint 2010 feature that works fine on my development machine, but won't activate on the staging system. It's SiteCollection scoped, the containing solution was successfully deployed on one WebApplication.

当我们尝试激活该功能时,我们会收到一条带有相关ID的错误消息.但是我们无法在SharePoint日志或Windows事件日志中找到此ID或功能名称.

When we try to activate the feature, we get an error message with a Correlation ID. But we can't find this ID or the name of the feature in the SharePoint Logs nor in the Windows Event Log.

也许未正确配置日志记录,或者计算机上的ULS出错,但是我们尚未从安装后的状态更改SharePoint日志记录选项.在哪里可以找到ULS中发生的异常/错误消息?如何配置日志记录"以允许记录失败的功能激活?

Maybe logging wasn't configured right or there is an error with ULS on the machine, but we haven't changed the SharePoint Logging options from the state they were after installation. Where can I find exception / error messages that happen in ULS? How must Logging be configured to allow the failed feature activation to be logged?

推荐答案

在SharePoint 2010下,转到管理中心.有一个监视链接.单击此处,报告下方是配置诊断"日志记录链接.如果将最不重要"事件设置为跟踪",而将最不重要事件"项设置为详细",则应该在SharePoint日志文件中获取更多信息.在进行诊断后,请确保切换回原来的状态,因为该过程比较麻烦,并且可能会导致额外的IO和大文件.

Under SharePoint 2010, go to Central Administration. There is a Monitoring link. Click there and under reporting is a Configure Diagnostic logging link. If you set the Least Critical event to Trace and Least Critical Event items to verbose, you should get more information in the SharePoint log files. Make sure you switch back though after diagnosing because the process is chatty and can result in extra IO and large files.

开箱即用,我不认为已设置日志记录.您还可以验证日志文件的位置,以确保不在此页上的其他位置进行设置.

Out of the box, I don't believe logging is set. You can also verify the location of the log files to make sure they are not on setup elsewhere on this page.

有关详细信息,请参见 TechNet

More information at TechNet

这篇关于在日志中找不到SharePoint 2010错误,如何配置日志记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆