Lolly Log
An Ecs/Elk compatible logging plugin for WordPress websites.
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/johnhooks/lolly/archive/refs/heads/main.zipLolly 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:
- Install dependencies:
npm install
- Start the development server:
npm run start
- 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 productionnpm run start: Start the development server with hot reloadingnpm run lint:js: Lint JavaScript filesnpm run lint:style: Lint CSS/SCSS filesnpm run format:js: Format JavaScript files