WP Event Logger — event logging system for WordPress
Task:
Implement a universal event logging system on the website for monitoring user actions, errors, and system processes.
What has been implemented:
- Developed a custom WordPress plugin for event logging
- Support for various logging levels (debug, info, warning, error, critical, etc.)
- Event logging:
user actions (login, registration, profile changes)
content changes (creation, editing, deletion of posts)
security events (failed login, suspicious activity)
PHP errors (including fatal errors)
- Implemented data storage in the database (including JSON context)
- Added an admin interface for viewing logs with filtering and search
- Implemented data export (CSV, JSON, XML)
- Implemented REST API for working with logs
Stack:
PHP, WordPress, MySQL, REST API
Features:
Scalable database structure (separate tables for events and metadata)
Flexible filtering and search system
Handling critical errors through shutdown handler
Ability to integrate with other services via API
Result:
Full control over events on the website
Simplified problem diagnosis
Increased security and stability of the project
Implement a universal event logging system on the website for monitoring user actions, errors, and system processes.
What has been implemented:
- Developed a custom WordPress plugin for event logging
- Support for various logging levels (debug, info, warning, error, critical, etc.)
- Event logging:
user actions (login, registration, profile changes)
content changes (creation, editing, deletion of posts)
security events (failed login, suspicious activity)
PHP errors (including fatal errors)
- Implemented data storage in the database (including JSON context)
- Added an admin interface for viewing logs with filtering and search
- Implemented data export (CSV, JSON, XML)
- Implemented REST API for working with logs
Stack:
PHP, WordPress, MySQL, REST API
Features:
Scalable database structure (separate tables for events and metadata)
Flexible filtering and search system
Handling critical errors through shutdown handler
Ability to integrate with other services via API
Result:
Full control over events on the website
Simplified problem diagnosis
Increased security and stability of the project