Hi everyone!
I’d like to share an open-source module for OpenMage / Magento 1 that I recently built for a real-world project and published on GitHub: Modestox_DeltaLog.
To be transparent, I’m not claiming this module is revolutionary or that it’s a commercial-grade product. I built it to solve a practical problem in a live project, while also contributing to my portfolio and growing my open-source presence.
What problem does it solve?
In stores managed by multiple admins or managers, it’s a familiar story: someone changes an order status, a product price, or a customer group, and later there’s no easy way to determine who made the change.
Existing auditing solutions can sometimes be overly complex, generate excessive database writes, or introduce unnecessary overhead whenever an object is saved.
What does the module do?
Modestox_DeltaLog tracks selected data changes, recording:
- Who made the change (admin, customer, Cron, or CLI)
- When it happened
- Source IP address, where available
- What changed, including previous and updated values
Key features
- Performance-focused: Tracking rules are compiled into the OpenMage cache, reducing the need for database lookups on every object save.
- Automated log cleanup: A scheduled Cron job purges outdated logs daily according to a configurable retention period.
- PHP 8.3 compatibility: The codebase uses strict typing throughout.
A note on testing
I’ve tested the module against my own use cases, and it works well for the scenarios it was designed to handle. That said, it hasn’t been extensively tested against every possible edge case, unusual third-party module configuration, or high-load environment.
The module is fully open source and released under the MIT license.
I’d really appreciate any feedback, code reviews, or suggestions for improvement!
If you find the module useful, have ideas for future development, or are interested in collaborating on open-source projects, feel free to send me a DM or connect with me on GitHub. I’d be happy to chat!
Repository link: Modestox DeltaLog