Reference

What gets logged

Every sensor helloLOG runs, what an event carries, and every event code, from WordPress core to 22 integrated plugins.

helloLOG watches a WordPress site through sensors. Each sensor covers one area, such as logins, content, plugin changes or WooCommerce orders, and turns what happens there into events. Every event has a stable code, so the number tells you what kind of event it is before you read the message.

There are 46 sensors you can switch on or off, plus the self-audit sensor, which is always on. The switchable ones split into 19 for WordPress core and 27 for 22 integrated plugins (WooCommerce alone has six). This page is current as of plugin 0.7.1.

How sensors load

  • Nothing runs until the site key is verified. Before that, no sensor is attached and nothing is queued. See Connect a site.
  • Core sensors attach on every site. The multisite sensor attaches only on a multisite network.
  • Integration sensors are lazy-loaded. One attaches only when the plugin it covers is active, so a site without WooCommerce runs no WooCommerce sensor.
  • A sensor that is switched off never attaches its hooks, so it costs nothing.

Turning sensors on and off

Two sensors are off until you turn them on:

SensorWhy it starts off
core-failed-loginBots try passwords on any public site, often dozens of times a minute. Turn it on while you investigate an incident.
core-requestIt logs 404 pages, REST requests and XML-RPC calls. These fire on every request, so the volume is very high.

To switch a sensor:

  • In WP-admin, open Tools → helloLOG → Settings → Filters. Every sensor has one switch, named after its key. See Plugin settings.
  • With WP-CLI, run wp hellolog sensors to list them, then wp hellolog enable-sensor <key> or wp hellolog disable-sensor <key>. See WP-CLI.

The self-audit sensor, core-self-audit, has no switch and disable-sensor refuses it. It records changes to helloLOG's own settings, including every sensor you switch on or off (code 6600).

What an event carries

An event always has a code, a severity, a time and a message, and usually the user who did it. Newer events can carry five more fields:

FieldWhat it tells you
sourceWhere the change came from, such as a WP-admin screen or a cron run.
targetThe object the event is about.
changesWhat changed: each field with its old and new value.
linksWhere to open the object.
varsThe values the message was built from.

Events from plugin versions before 0.5.0 carry none of them, and the API leaves the fields out of those events.

Source

source is one of these:

ValueThe request
adminA WP-admin screen
ajaxAn admin-ajax call
restA REST API request
xmlrpcAn XML-RPC request
cronA WP-Cron run
action-schedulerAn Action Scheduler job
cliA WP-CLI command
frontendAny other request, such as a visitor on the public site

A cron run or an Action Scheduler job has no person behind it, so its events carry no user. The source keeps a background job from being mistaken for something a person did.

Target and changes

The target names the object as a type, an id and a label. For a post that is type post, the post ID, and the post title. Types include post, media, term, comment, menu, user, plugin, theme, setting, table, site, order, product and coupon.

All events about one object share its target, which gives you that object's history. The Read API and MCP filter on target_type and target_id. A few events have no target, such as a 404 or a failed login for a name that matches no account.

changes lists one item per field, with its field name, its old value and its new value. A field with no value before or after shows as empty. A value is cut at 1,024 characters, and an event lists at most 50 changes.

links holds up to three URLs, edit, view and revision, when WordPress has them. A post that was deleted for good has nothing to open, so its event has no edit link.

vars holds one value for each {placeholder} in the event's message template. The message is the template with those values filled in. The templates are listed in the code reference.

What is left out

Not logged

  • Plugin housekeeping. The sensors that watch another plugin's settings (WooCommerce settings, Yoast SEO, Rank Math, Termly and the LW plugins) log a change only when a person made it: someone signed in on a WP-admin screen, through admin-ajax or the REST API, or a WP-CLI command. Cron jobs, Action Scheduler jobs and visitors never count. These sensors also skip options that plugins rewrite on their own: version stamps, "last run" and timestamp options, caches, queues, locks, logs, notices and dismissals, onboarding progress, and any option whose name starts with an underscore.
  • Core settings are the exception. The core-settings sensor logs every change to its list of WordPress options, whoever made it. A cron job or a visitor's request that changes the site address is exactly what has to be on record.
  • WooCommerce bank accounts are the other exception. A change to the bank transfer (BACS) accounts is logged whoever made it, a background job or a visitor's request included (9401, critical).
  • Duplicates. One action is one event. When a single save fires several WordPress hooks, helloLOG keeps the most specific event: publishing a post is one "published" event, not a "created", a "published" and an "updated".
  • Internal records. WordPress keeps revisions, menu items and customizer drafts for itself. They are not logged as content.

Some things the sensors cannot see:

  • Files. core-files logs save attempts in the WP-admin Theme and Plugin editors. It does not scan files on disk.
  • Database tables. core-database spots CREATE TABLE and DROP TABLE statements that a plugin runs through WordPress. A migration tool that runs outside WordPress is not seen.
  • WooCommerce shipping zones. Adding, renaming or deleting a zone, and changing its regions, is not logged. The shipping methods in a zone are.

Masked or sent without values

  • Passwords never leave the site. A password change says that the password changed, and nothing more. A post's password protection is logged only as set or not set.
  • Credential-like names are masked. When the name of an option or field looks like a credential, the change is logged and both values read [redacted]. That covers names with words like key, secret, token, password, license, salt, signature or webhook, and bank details such as an IBAN. Inside a list or JSON value, credential-like keys are masked at any depth, and so is a password in a URL (user:password@host).
  • Text people wrote is reported as changed. For post content, comment text, user biographies, media and term descriptions, comment moderation word lists, WooCommerce product and coupon descriptions, a coupon's allowed e-mail addresses and purchase notes, the event says the field changed and leaves the words out. The same goes for the customer details on a WooCommerce order: names, addresses, e-mail, phone and the customer's note.
  • Bank accounts and webhooks are shortened. A bank transfer account is named by the last four digits of its number. A webhook logs only the host of its delivery URL, never the rest of the address or its secret.
  • Some order text is sent as written. Order notes, refund reasons and item names are sent as typed. Long texts are cut and secrets in notes are masked, but a personal detail typed into one of them is sent too.

Client IP addresses can be shortened before they leave the site. See Anonymize client IPs in Plugin settings.

Sensors

Each table lists a sensor's key, what it covers, what it records, and the event codes it sends. A sensor for another plugin attaches only when that plugin is active.

WordPress core

SensorCoversRecordsCodes
core-authLogins and logoutsLogins, logouts, and password resets (requested and completed).1000, 1001, 1003, 1004
core-failed-loginFailed loginsFailed login attempts. Off by default.1002
core-contentPosts, pages, custom post typesCreated, published, unpublished, scheduled, submitted for review, made private, updated, trashed, restored, reverted to auto-draft and deleted. Post types with an admin screen, plus the site editor's templates, template parts, global styles, navigation menus and patterns.2000–2009, 2013
core-mediaMedia libraryUploads, edits to a file's title, caption, description or alt text, and permanent deletes.2010–2012
core-taxonomyCategories, tags, custom taxonomiesTerms created, edited and deleted.2120–2122
core-commentsCommentsNew comments (pingbacks, trackbacks and reviews too), approvals, spam, trash, edits and permanent deletes.2200–2205
core-widgetsWidgetsWidgets updated and removed.2300, 2301
core-menusMenusMenus created, updated (renames and item changes) and deleted.2400–2402
core-user-profileUsersRegistrations, profile edits, role changes, password and e-mail changes, and deletions.4000–4005
core-multisiteMultisite networkNetwork sites created, deleted, archived or unarchived; super admins granted or revoked. Attaches only on a network.4100–4102, 4150
core-2faTwo-factor authenticationTwo-factor authentication turned on or off for a user.4400, 4401
core-app-passwordsApplication passwordsCreated, revoked, and used to sign in. A sign-in is logged at most once an hour per user, password and IP address.4500–4502
core-pluginsPluginsInstall, activate, deactivate, update, delete, and automatic-update switches.5000–5005
core-themesThemesSwitch, install, update, delete, customizer saves, and automatic-update switches.5100–5105
core-settingsWordPress settingsChanges to the site's main options (title, addresses, admin e-mail, permalinks, search-engine visibility, discussion settings, timezone, default role and more) and to role capabilities.6000–6005
core-systemWordPress core updatesCore updates, with the version the site came from.6100
core-filesTheme and plugin editorSave attempts in the WP-admin Theme and Plugin editors, logged even when WordPress rejects the save.6300
core-requestRequests404 pages, REST requests and XML-RPC calls. Off by default.6400–6402
core-self-audithelloLOG itselfChanges to helloLOG's own settings: the API key (never its value), IP anonymization, sensors switched on or off, and a key that is no longer verified after it was changed or cleared or a connection test failed (not when the daily recheck turns it off). Always on.6600
core-databaseDatabase tablesCREATE TABLE and DROP TABLE statements that plugins run. Best effort.7100, 7101

WooCommerce

The six WooCommerce sensors attach when WooCommerce is active.

SensorCoversRecordsCodes
woocommerce-productProductsProducts and variations created, edited (price and stock changes show in the list of changes) and deleted; stock reduced by an order.9000–9002, 9005
woocommerce-orderOrdersCreated, status changes, edits (totals, payment, customer, dates), items added, changed or removed, refunds, notes added or deleted, trash, restore and permanent delete.9100–9111
woocommerce-couponCouponsCreated, edited and deleted.9200–9202
woocommerce-customerCustomersShop registrations and saved addresses.9300, 9301
woocommerce-settingsSettingsChanges on the WooCommerce settings screens, payment gateways included. Changes to bank transfer (BACS) accounts are a separate critical event.9400, 9401
woocommerce-configTax, shipping, webhooks, attributesTax rates, shipping methods in a zone, webhooks and product attributes: added, changed or removed.9410–9412, 9420–9422, 9430–9432, 9440–9442

Other plugins

SensorCoversRecordsCodes
redirectionRedirectionRedirect rules saved and deleted.5200, 5201
tablepressTablePressTables created, saved and deleted.5300–5302
acfAdvanced Custom FieldsField groups created, updated and deleted.5400–5402
paid-memberships-proPaid Memberships ProA user's membership level changed.5500
gravity-formsGravity FormsForms created, updated and deleted; entries submitted.5700–5702, 5710
wpformsWPFormsForms created and saved; entries submitted. A deleted form is logged as an update (5801).5800, 5801, 5810
contact-form-7Contact Form 7Forms saved; mail sent from a form.5850, 5851
fluent-formsFluent FormsForms created and updated; entries submitted.5860, 5861, 5870
memberpressMemberPressMembership products published; completed transactions.6500, 6501
mainwpMainWPChild sites added and removed on a MainWP dashboard.7700, 7701
bbpressbbPressForums, topics and replies published or deleted.8000, 8001
learndashLearnDashCourses, lessons, topics and quizzes published; users enrolled in a course.8200, 8201
eddEasy Digital DownloadsDownloads published; payment status changes.8300, 8301
termlyTermlyChanges to Termly settings.8500
yoast-seoYoast SEOChanges to Yoast SEO settings.8800
rank-mathRank MathChanges to Rank Math settings.8900
lw-firewallLW FirewallChanges to LW Firewall settings.9501
lw-seoLW SEOChanges to LW SEO settings.9601
lw-disableLW DisableChanges to LW Disable settings.9700
lw-cookieLW CookieChanges to LW Cookie settings.9800
lw-zenadminLW ZenAdminChanges to LW ZenAdmin settings.9900

Event code reference

Every code the plugin sends, grouped by area. Severity is info, low, medium, high or critical. A message template shows its {placeholders} as they are; an event fills them in.

Authentication

CodeSeverityMessage
1000infoUser {username} logged in.
1001infoUser {username} logged out.
1002mediumFailed login attempt for {username}.
1003mediumPassword reset requested for {username}.
1004mediumPassword reset completed for {username}.

Content and media

CodeSeverityMessage
2000info{post_type} "{title}" created.
2001low{post_type} "{title}" published.
2002low{post_type} "{title}" unpublished.
2003low{post_type} "{title}" moved to trash.
2004info{post_type} "{title}" restored from trash.
2005medium{post_type} "{title}" permanently deleted.
2006info{post_type} "{title}" updated.
2007info{post_type} "{title}" scheduled for {date}.
2008info{post_type} "{title}" submitted for review.
2009low{post_type} "{title}" made private.
2010infoMedia "{title}" uploaded.
2011infoMedia "{title}" edited.
2012lowMedia "{title}" deleted.
2013medium{post_type} "{title}" reverted to auto-draft.

Taxonomies

CodeSeverityMessage
2120infoTerm "{name}" created in {taxonomy}.
2121infoTerm "{name}" updated in {taxonomy}.
2122lowTerm "{name}" deleted from {taxonomy}.

Comments

CodeSeverityMessage
2200infoNew comment on {post_title} by {author}.
2201infoComment on {post_title} approved.
2202lowComment on {post_title} marked as spam.
2203lowComment on {post_title} trashed.
2204lowComment on {post_title} permanently deleted.
2205infoComment on {post_title} edited.

Widgets and menus

CodeSeverityMessage
2300infoWidget {id_base} in sidebar {sidebar} updated.
2301infoWidget {id_base} removed from {sidebar}.
2400infoMenu "{name}" created.
2401infoMenu "{name}" updated.
2402lowMenu "{name}" deleted.

Users

CodeSeverityMessage
4000lowNew user {username} registered with role {role}.
4001infoProfile updated for {username}.
4002highRole for {username} changed from {old_role} to {new_role}.
4003highUser {username} deleted.
4004highPassword changed for {username}.
4005highE-mail address changed for {username}.

Multisite

CodeSeverityMessage
4100highSite {domain} created on the network.
4101highSite {domain} deleted from the network.
4102highSite {domain} archived/unarchived: {state}.
4150highSuper admin {username} {state}.

Two-factor authentication

CodeSeverityMessage
4400medium2FA enabled for {username}.
4401high2FA disabled for {username}.

Application passwords

CodeSeverityMessage
4500mediumApplication password "{name}" created for {username}.
4501mediumApplication password revoked for {username}.
4502infoApplication-password login for {username}.

Plugins

CodeSeverityMessage
5000mediumPlugin {name} installed.
5001mediumPlugin {name} activated.
5002mediumPlugin {name} deactivated.
5003mediumPlugin {name} updated to {version}.
5004highPlugin {name} deleted.
5005mediumAutomatic updates {state} for plugin {name}.

helloLOG's own deactivation is logged as 5002 too.

Themes

CodeSeverityMessage
5100mediumTheme switched to {name}.
5101mediumTheme {name} installed.
5102mediumTheme {name} updated to {version}.
5103highTheme {name} deleted.
5104infoTheme customizer settings updated.
5105mediumAutomatic updates {state} for theme {name}.

Redirection

CodeSeverityMessage
5200infoRedirection rule added: {source} → {target}.
5201lowRedirection rule deleted.

TablePress

CodeSeverityMessage
5300infoTablePress table "{name}" created.
5301infoTablePress table "{name}" updated.
5302lowTablePress table "{name}" deleted.

Advanced Custom Fields

CodeSeverityMessage
5400infoACF field group "{title}" created.
5401infoACF field group "{title}" updated.
5402lowACF field group "{title}" deleted.
CodeSeverityMessage
5500infoPMP membership for {username}: {level}.

Forms

CodeSeverityMessage
5700infoGravity form "{title}" created.
5701infoGravity form "{title}" updated.
5702lowGravity form "{title}" deleted.
5710infoEntry submitted to Gravity form "{title}".
5800infoWPForms form "{title}" created.
5801infoWPForms form "{title}" updated.
5810infoEntry submitted to WPForms form "{title}".
5850infoContact Form 7 form "{title}" saved.
5851infoMail sent from Contact Form 7 "{title}".
5860infoFluent form "{title}" created.
5861infoFluent form "{title}" updated.
5870infoEntry submitted to Fluent form "{title}".

Gravity Forms 5700–5710, WPForms 5800–5810, Contact Form 7 5850–5851, Fluent Forms 5860–5870.

Settings, system and files

CodeSeverityMessage
6000mediumSite option {option} changed.
6001highSite URL changed from {old} to {new}.
6002highAdmin e-mail changed from {old} to {new}.
6003mediumPermalink structure changed.
6004highSearch-engine visibility toggled to {state}.
6005criticalUser role capabilities changed.
6100highWordPress core updated to {version}.
6300high{kind} editor saved {file}.

Requests

CodeSeverityMessage
6400low404 for {path}.
6401infoREST request {path} ({status}).
6402lowXML-RPC call: {method}.

The core-request sensor is off by default.

MemberPress

CodeSeverityMessage
6500infoMemberPress membership "{title}" created.
6501infoMemberPress transaction for {username}: {amount}.

helloLOG itself

CodeSeverityMessage
6600criticalHelloLog settings changed.

Database

CodeSeverityMessage
7100highCustom database table {name} created.
7101highCustom database table {name} dropped.

MainWP

CodeSeverityMessage
7700lowMainWP child site added: {url}.
7701lowMainWP child site removed: {url}.

bbPress

CodeSeverityMessage
8000infobbPress forum/topic/reply "{title}" created.
8001lowbbPress forum/topic/reply "{title}" deleted.

LearnDash

CodeSeverityMessage
8200infoLearnDash {sub_type} "{title}" created.
8201infoLearnDash enrollment for {username}: {course}.

Easy Digital Downloads

CodeSeverityMessage
8300infoEDD download "{title}" created.
8301infoEDD payment {id} status: {status}.

Termly

CodeSeverityMessage
8500infoTermly cookie/consent settings changed.

Yoast SEO

CodeSeverityMessage
8800mediumYoast SEO option {option} changed.

Rank Math

CodeSeverityMessage
8900mediumRankMath option {option} changed.

WooCommerce products

CodeSeverityMessage
9000infoWC product "{name}" created.
9001infoWC product "{name}" updated.
9002mediumWC product "{name}" deleted.
9005infoWC product "{name}" stock reduced by an order: {old} → {new}.

A price or stock change shows in the list of changes of the product update (9001). Stock reduced by an order has its own event (9005).

WooCommerce orders

CodeSeverityMessage
9100lowWC order #{id} created.
9101lowWC order #{id} status: {old} → {new}.
9102mediumWC order #{id} deleted.
9103infoNote added to WC order #{id}: {note}
9104mediumRefund issued on WC order #{id}: {amount}.
9105mediumWC order #{id} edited.
9106lowItem "{name}" added to WC order #{id}.
9107mediumItem removed from WC order #{id}.
9108lowItem "{name}" changed on WC order #{id}.
9109mediumWC order #{id} moved to trash.
9110lowWC order #{id} restored from trash.
9111lowNote deleted from WC order #{id}.

WooCommerce coupons and customers

CodeSeverityMessage
9200infoWC coupon "{code}" created.
9201infoWC coupon "{code}" updated.
9202infoWC coupon "{code}" deleted.
9300lowWC customer {username} registered.
9301infoWC customer {username} details updated.

WooCommerce settings and store configuration

CodeSeverityMessage
9400mediumWC setting {option} changed.
9401criticalBank account details (BACS) changed.
9410highWC tax rate {name} added.
9411highWC tax rate {name} changed.
9412highWC tax rate {name} deleted.
9420mediumWC shipping method {name} added in zone {zone}.
9421mediumWC shipping method {name} removed from zone {zone}.
9422mediumWC shipping method {name} toggled in zone {zone}.
9430highWC webhook "{name}" created.
9431highWC webhook "{name}" changed.
9432highWC webhook "{name}" deleted.
9440lowWC attribute "{name}" created.
9441lowWC attribute "{name}" changed.
9442lowWC attribute "{name}" deleted.

LW plugins

CodeSeverityMessage
9501infolw-firewall rule changed: {rule}.
9601infolw-seo setting {option} changed.
9700infolw-disable feature toggled: {feature} = {state}.
9800infolw-cookie consent updated.
9900infolw-zenadmin UI customization changed.

Reserved codes

CodeSeverityMessage
8801infoYoast SEO redirect added: {source} → {target}.
8901infoRankMath redirect created: {source}.
9003infoWC product "{name}" price changed from {old} to {new}.
9004infoWC product "{name}" stock changed from {old} to {new}.
9500highlw-firewall blocked request from {ip}: {reason}.
9600infolw-seo redirect rule changed.

These codes are in the catalog, but the current plugin does not send them, so you will not see events for them. They stay in the list so that a code you find in a filter or an older event still reads. Plugin versions before 0.7.0 sent 9003 and 9004. Price and stock changes are now part of the product update's list of changes.

Don't see a plugin you use? Sensors attach automatically for the plugins listed above, and everything else on your site stays untouched. Get in touch if you'd like to see a specific integration added.