Reference

WP-CLI

Every `wp hellolog` subcommand, with what it does.

All commands are namespaced under wp hellolog.

CommandWhat it does
wp hellolog statusCurrent state: is a key set, is the site active, IP anonymization, queue counts by status, and the sensors you've switched off.
wp hellolog flushFlush the local queue to the backend right now, instead of waiting for the scheduled drain.
wp hellolog testSend a one-off test event, bypassing the queue. A successful response activates the site, which is what attaches the sensors.
wp hellolog set-token <token>Set the site's bearer token. Run test afterward to activate it.
wp hellolog clear-tokenClear the stored token. Detaches sensors and stops the outgoing queue.
wp hellolog clear-queue [--status=<pending, sending, or dead>]Delete rows from the local outgoing queue. Without --status, deletes all of them.
wp hellolog requeue-deadMove every dead row back to pending so the next flush retries it.
wp hellolog sensorsList every sensor you can switch and whether it's on. Before the site key is verified no sensor runs: the command says so and lists the switches as stored, which apply once the key is verified. A sensor for a plugin that isn't active shows as on; it just never attaches.
wp hellolog enable-sensor <key>Switch a sensor on by its key (see wp hellolog sensors for the list). An unknown key is refused.
wp hellolog disable-sensor <key>Switch a sensor off by its key. core-self-audit can't be switched off.

enable-sensor and disable-sensor work before the key is verified too. Two sensors, core-failed-login and core-request, are off until you enable them. See What gets logged.

Example: recover from a backend outage

Terminal
wp hellolog status            # see the dead count
wp hellolog test              # confirm the backend accepts a ping
wp hellolog requeue-dead      # dead -> pending
wp hellolog flush             # send them now

Every command here has a WP-admin equivalent on the Plugin settings screen, except flush, requeue-dead and clear-queue, which are CLI-only. For more recovery scenarios, see Troubleshooting.