DecaLog

Description

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.

🎁 Give this plugin a drive test on a free dummy site: One-Click Test!

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.

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, 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 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. Just use the support section of this plugin page.

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 or the Electronic Frontier Foundation 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!

Screenshots

  • 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)

Installation

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!

FAQ

What are the requirements for this plugin to work?

You need at least WordPress 5.2 and PHP 7.2.

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.

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.

Where can I report a bug?

You can report bugs and suggest ideas via the GitHub issue tracker of the plugin.

Reviews

13 di Avost dal 2022 1 reply
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!
29 di Avost dal 2021 1 reply
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 🙂
5 di Novembar dal 2020 1 reply
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.
30 di Setembar dal 2020 1 reply
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.
24 di Otubar dal 2019 1 reply
Clear, efficient and fully customizable plugin. Will certainly install it on all my new WP projects on dev/debug and prod site state.
Read all 7 reviews

Contributors & Developers

“DecaLog” is open source software. The following people have contributed to this plugin.

Contributors

“DecaLog” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “DecaLog” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Please, see full changelog.