Title: DecaLog
Author: Pierre Lannoy
Published: <strong>2019 年 8 月 26 日</strong>
Last modified: 2026 年 3 月 23 日

---

搜索插件

![](https://ps.w.org/decalog/assets/icon-256x256.png?rev=2168815)

# DecaLog

 作者：[Pierre Lannoy](https://profiles.wordpress.org/pierrelannoy/)

[下载](https://downloads.wordpress.org/plugin/decalog.4.6.0.zip)

 * [详情](https://cn.wordpress.org/plugins/decalog/#description)
 * [评价](https://cn.wordpress.org/plugins/decalog/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/decalog/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/decalog/#developers)

 [支持](https://wordpress.org/support/plugin/decalog/)

## 描述

**Capture and log events, metrics and traces on your site. Make WordPress observable–
finally!**

De-facto standard stack for WordPress observability, **DecaLog** provides reliable
and powerful logging, monitoring and tracing features for WordPress core, PHP, database,
plugins and themes.

**DecaLog** captures events generated by WordPress core, PHP, database, plugins 
and themes, collates metrics and KPIs and follows traces of the full WordPress execution.
It has the ability to enrich these events, metrics and traces with many details 
regarding their triggering, before storing them in WordPress database or passing
them to external services.

If you don’t want to use external services, **DecaLog** provides the tools to leverage
all the benefits of observability right in the WordPress admin dashboard. It supports
multisite logs delegation and contains many features to help to protect personal
information (user pseudonymization, IP obfuscation, etc.).

For a full list of supported – internal or third-party – services please, jump to
the official [supported services list](https://perfops.one/decalog#services).

**DecaLog** can be used in dev/debug phases or on production sites: it has nearly
no resource impact on the server. It provides an extensive set of WP-CLI commands
to help operations too.

> **DecaLog** is part of [PerfOps One](https://perfops.one/), a suite of free and
> open source WordPress plugins dedicated to observability and operations performance.

#### Developers

If you’re a plugins / themes developer and want to take advantage of the logging
features of DecaLog, there’s a [DecaLog SDK](https://decalog.io/) for you.

#### Support

This plugin is free and provided without warranty of any kind. Use it at your own
risk, I’m not responsible for any improper use of this plugin, nor for any damage
it might cause to your site. Always backup all your data before installing a new
plugin.

Anyway, I’ll be glad to help you if you encounter issues when using this plugin.
Please read carefully the FAQ at the bottom of this page before requesting support.

#### Privacy

This plugin, as any piece of software, is neither compliant nor non-compliant with
privacy laws and regulations. It is your responsibility to use it – by activating
the corresponding options or services – with respect for the personal data of your
users and applicable laws.

This plugin doesn’t set any cookie in the user’s browser.

This plugin may handle personally identifiable information (PII). If the GDPR or
CCPA or similar regulation applies to your case, you must use the anonymization 
options embedded in the plugin and/or adapt your processes (consent management, 
security measure, treatment register, etc.).

#### Donation

If you like this plugin or find it useful and want to thank me for the work done,
please consider making a donation to [La Quadrature Du Net](https://www.laquadrature.net/en)
or the [Electronic Frontier Foundation](https://www.eff.org/) which are advocacy
groups defending the rights and freedoms of citizens on the Internet. By supporting
them, you help the daily actions they perform to defend our fundamental freedoms!

## 屏幕截图

 * [[
 * Running Loggers List
 * [[
 * Available Loggers Types
 * [[
 * WordPress Events Log
 * [[
 * Event Details in Internal Viewer
 * [[
 * WordPress Traces List
 * [[
 * Trace Details in Internal Viewer
 * [[
 * Live Events with In-browser Console
 * [[
 * Events & Traces Seen in Grafana (example of external service)
 * [[
 * Metrics Seen in InfluxDB (example of external service)

## 安装

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’.
 2. Search for ‘DecaLog’.
 3. Click on the ‘Install Now’ button.
 4. Activate DecaLog.

#### From WordPress.org

 1. Download DecaLog.
 2. Upload the `decalog` directory to your `/wp-content/plugins/` directory, using 
    your favorite method (ftp, sftp, scp, etc…).
 3. Activate DecaLog from your Plugins page.

#### Once Activated

 1. Visit ‘PerfOps One > Control Center > DecaLog’ in the left-hand menu of your WP
    Admin to adjust settings.
 2. Enjoy!

## 常见问题

### Can this plugin work on multisite?

Yes. It is designed to work on multisite too. Network Admins can configure the plugin
and have access to all logs. Sites Admins have access to the logs of their own sites
only.

### Where can I get support?

Support is provided via the official [WordPress page](https://wordpress.org/support/plugin/decalog/).
Because I am human myself, please note that I only answer to support requests made
by humans, who behave like humans. This excludes requests or bug reports written
by AI or those that do not adhere to basic rules of courtesy.

### Where can I find documentation?

Documentation for users is provided as the form of inline help in the plugin.

Developer’s documentation can be found in the [DecaLog SDK Documentation](https://decalog.io/).

### Where can I report a bug?

You can report bugs and suggest ideas via the [GitHub issue tracker](https://github.com/Pierre-Lannoy/wp-decalog/issues)
of the plugin.

## 评价

![](https://secure.gravatar.com/avatar/fa21e61ecd7f29e8be586329f610f7f4661440c55e6daa8f722d0568e182bb0d?
s=60&d=retro&r=g)

### 󠀁[does not activate](https://wordpress.org/support/topic/does-not-activate-9/)󠁿

 [sgpro](https://profiles.wordpress.org/sgpro/) 2024 年 6 月 29 日

this plugin can be downloaded and installed, but not activated.You can attempt activation
in both wp cli and in the plugins dashboard, but it still remains deactivated, and
there are no messages or logs indicating the reason why it doesn’t activate.

![](https://secure.gravatar.com/avatar/442b600f030772b0e6a018331cc365fbd450019ec4db9b53b4d1406259237a53?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-34816/)󠁿

 [Rick Hoekman](https://profiles.wordpress.org/rhoekman/) 2022 年 8 月 13 日 1 回复

Very nice to be able to push certain events to New Relic logs. I can even see Wordfence
alerts and user logins coming in which is awesome!

![](https://secure.gravatar.com/avatar/2ac765d309dacfdd3ce9a0dd4b093294e3e712774bbd8aec76e13d38bf01292d?
s=60&d=retro&r=g)

### 󠀁[Amazing toolset, well crafted](https://wordpress.org/support/topic/amazing-toolset-well-crafted/)󠁿

 [janthiel](https://profiles.wordpress.org/janthiel/) 2021 年 8 月 29 日 1 回复

Just came across the Perfops One Suite by chance and I have to say: Amazing! Well
coded, well maintained and an amazing feature set. I wouldn’t run any of our projects
without it anymore. We use it with Datadog as Logger and I am really impressed by
acually every aspect. The Decalog SDK is a real gamechanger for plugin / theme development
on your own platform when using Decalog. Thank you very much Pierre. This is one
of the examples why WordPress and OpenSource rock 🙂

![](https://secure.gravatar.com/avatar/3de8978b88db8b2e4cd4bb5d72a78ea3909c80c429938b7339ac31b209db1c1e?
s=60&d=retro&r=g)

### 󠀁[Great Help](https://wordpress.org/support/topic/great-help-171/)󠁿

 [Sébastien Gastard](https://profiles.wordpress.org/sgastard/) 2020 年 11 月 5 日
1 回复

The debug log file was empty, and yet an error 500. I just install this plugin and
he catches every call just before the crash, really simple to use, and very useful.

![](https://secure.gravatar.com/avatar/ce377313a6e62407f5d3cbc0f790c06503c5521189ae2d1b5fbb4bbe5dbf7974?
s=60&d=retro&r=g)

### 󠀁[Excellent Support](https://wordpress.org/support/topic/excellent-support-1268/)󠁿

 [mdgary](https://profiles.wordpress.org/mdgary/) 2020 年 9 月 30 日 1 回复

Very quick and effective plugin. Works great with custom SIEM integrations and forwarding
services of all kinds. Highly recommend this, it’s been invaluable to us.

![](https://secure.gravatar.com/avatar/0435b86e594669d78fc724bf24d46940ece064b8e1487b1d7b0de1c58864f3ea?
s=60&d=retro&r=g)

### 󠀁[A must have plugin for advanced users & developers](https://wordpress.org/support/topic/a-must-have-plugin-for-advanced-users-developers/)󠁿

 [jimmy19742](https://profiles.wordpress.org/jimmy19742/) 2020 年 2 月 16 日 4 回复

A pure beauty. I know what’s going on my site every moment.Merci beaucoup, Pierre!

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/decalog/reviews/)

## 贡献者及开发者

「DecaLog」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

「DecaLog」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/decalog/contributors)
为本插件所做的贡献。

[帮助将「DecaLog」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/decalog)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/decalog/)，查看[SVN仓库](https://plugins.svn.wordpress.org/decalog/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/decalog/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/decalog/)。

## 更新日志

Please, see [full changelog](https://perfops.one/decalog-changelog).

## 社区插件

该插件由社区开发和支持。 [为该插件贡献](https://github.com/Pierre-Lannoy/wp-decalog)

## 额外信息

 *  版本 **4.6.0**
 *  最后更新：**2 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/decalog/) 、 [French (Belgium)](https://fr-be.wordpress.org/plugins/decalog/)、
   [French (Canada)](https://fr-ca.wordpress.org/plugins/decalog/) 和 [French (France)](https://fr.wordpress.org/plugins/decalog/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/decalog)
 * 标签
 * [error reporting](https://cn.wordpress.org/plugins/tags/error-reporting/)[logging](https://cn.wordpress.org/plugins/tags/logging/)
   [logs](https://cn.wordpress.org/plugins/tags/logs/)[monitoring](https://cn.wordpress.org/plugins/tags/monitoring/)
   [tracing](https://cn.wordpress.org/plugins/tags/tracing/)
 *  [高级视图](https://cn.wordpress.org/plugins/decalog/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/decalog/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/decalog/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/decalog/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/decalog/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/decalog/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/decalog/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/decalog/reviews/)

## 贡献者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/decalog/)