WP Manifestindependent plugin directory

Lolly Log

An Ecs/Elk compatible logging plugin for WordPress websites.

★ 2stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/johnhooks/lolly/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Lolly Log WordPress Plugin

A Ecs/Elk compatible logging plugin for WordPress.

Development

Admin Interface

The admin interface is built using React and WordPress components. To work on the admin interface:

  1. Install dependencies:
npm install
  1. Start the development server:
npm run start
  1. Build for production:
npm run build

PHP Development

See the CLAUDE.md file for PHP development instructions.

Admin Settings

The plugin provides an admin interface to configure logging and redaction settings. Navigate to "Lolly Log" in the WordPress admin menu to access these settings.

Available Settings

  • Enable/disable redaction
  • Configure path redaction patterns
  • Configure host redaction patterns

Building Assets

The plugin uses @wordpress/scripts to build assets. This provides a standardized build process for WordPress plugins.

  • npm run build: Build the assets for production
  • npm run start: Start the development server with hot reloading
  • npm run lint:js: Lint JavaScript files
  • npm run lint:style: Lint CSS/SCSS files
  • npm run format:js: Format JavaScript files