wordpress 有没有办法检查wordpress日志?比如管理员执行了哪些操作等?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3714838/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there way to check wordpress logs? Like what actions admin has performed etc?
提问by janjua
hi friends Is there way to check wordpress logs? Like what actions admin has performed etc? Actually I am working on a project and someone has deleted my pages templates to trash and my site was down. I want to check who did this in my wordpress admin panel?
嗨朋友有没有办法检查wordpress日志?比如管理员执行了哪些操作等?实际上,我正在做一个项目,有人将我的页面模板删除到垃圾箱,而我的网站已关闭。我想在我的 wordpress 管理面板中查看是谁做的?
采纳答案by Pekka
I don't think Wordpress has an event log, at least I've never heard of one or seen one. There is a login loggerplugin, but it has to be installed and doesn't work retroactively.
我认为 Wordpress 没有事件日志,至少我从未听说过或见过。有一个登录记录器插件,但它必须安装并且不能追溯。
In theory, it should be possible to get at least the IP address of the perpetrator from the normal Apache access logs, and searching it for all recent accesses to the /wp-admin
folder. That is pretty cumbersome work, though.
从理论上讲,至少应该可以从正常的 Apache 访问日志中获取犯罪者的 IP 地址,并搜索它以查找最近对该/wp-admin
文件夹的所有访问。不过,这是一项相当繁琐的工作。
回答by Justinas Dūd?nas
回答by Amar
You may try this Activity LogPlugin.
你可以试试这个活动日志插件。
If you have tens of users or more, you really can't know who did what. This plugin tries to solve this issue by tracking what users do, and displaying it in an easy to use and easy to filter view on the dashboard of your WordPress site.
如果你有几十个或更多的用户,你真的不知道谁做了什么。这个插件试图通过跟踪用户的行为来解决这个问题,并在您的 WordPress 网站的仪表板上以易于使用且易于过滤的视图显示它。
回答by Solwin Infotech
You can try User Activity Log - WordPress Plugin. It helps you monitor and keep track of all the activities occurs on the admin side. It will give information about log of all user activity and admin get notified when a particular user is logged in.
您可以尝试用户活动日志 - WordPress 插件。它可以帮助您监控和跟踪管理端发生的所有活动。它将提供有关所有用户活动日志的信息,并在特定用户登录时通知管理员。