Sitecore 8:如何跟踪内容编辑器活动?

问题描述 投票:2回答:3

我们有一个网站,其中包含Sitecore 8.1和多个内容编辑器。有没有办法记录他们的活动,如列出他们在编辑/发布/取消发布方面所执行的操作?

上周我们遇到了一个问题,我怀疑是因为有人发布了错误的项目,但我需要确保是这种情况,或者至少我希望将来有这种能力。我是否需要创建自己的事件触发日志记录?

sitecore sitecore8
3个回答
2
投票

在Sitecore中提供这些报告并没有完全开箱即用。您可以查看Sitecore Audit Trail模块,该模块将所有“编辑器操作”审核信息记录到单独的log4net appender中。您可以在this blog post中找到有关该模块的更多信息,但请注意该模块仅标记为与Sitecore 7.5兼容,因此使用Sitecore 8.1不难,即更新appender配置,因为log4net配置现在位于config中的<sitecore>节点。


2
投票

Sitecore会在正常日志文件(在Data \ logs中)中开箱即用地记录内容编辑器操作,它们以“AUDIT”开头,因此您可以找到它们。它记录诸如正在保存的项目,发布起始等内容。在日志文件中搜索以查找它们。

您可以将这些保存到单独的日志文件中以便于查看:https://sdn.sitecore.net/scrapbook/how%20to%20make%20sitecore%206%20write%20audit%20log%20to%20its%20own%20file.aspx

这仍然适用于Sitecore 8,但设置现在位于App_Config / Sitecore.config中。


1
投票

您可以使用Sitecore Advanced System Reporter

Sitecore 6附带了一个名为My Locked Items的非常有用的功能。但有时,管理员用户可能希望查看所有锁定的项目,而不仅仅是那些被锁定的项目。我写了一个小应用程序来做到这一点。然后我想让它更通用,这样就可以轻松创建其他类型的报告。结果是一个小框架,允许在很短的时间内创建许多类型的报告。在本单元中,我提供了这个框架以及许多有用的示例报告,例如:

items modified updated in the last X days
items that have more than X children
items that are publishable but either do not exist or have a different version in the web   
   database.
items that are based on a particular template
items with validation errors
which templates have been linked to a workflow
locked items
publishable items with broken links
audit information
errors in the log files
items that have stayed in the same workflow state for more than X days 

和更多。

您现在还可以参数化这些报告,将它们保存为桌面链接,导出它们,甚至创建一个自动发送电子邮件的计划任务。此外,您还可以对报告的项目应用命令。您可以从以下网址下载该模块:https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx

模块可用于Sitecore 6.4到8.我不知道您是否具有您看到的功能,但您可以自定义它。

您可以查看此博客文章如何扩展它:qazxsw poi

更新

安装模块

运行模块并选择图片中的报告。

http://www.seanholmesby.com/sitecore-auditing-with-the-advanced-system-reporter/

运行报告

enter image description here

查看报告或将其导出为csv,excel或xml。

© www.soinside.com 2019 - 2024. All rights reserved.