barkamlesh / varnishlog
Magento 2 module for Varnish logging and cache invalidation.
Package info
github.com/barkamlesh/varnishlog
Type:magento2-module
pkg:composer/barkamlesh/varnishlog
1.1.2
2025-07-27 07:26 UTC
Requires
- php: ^8.1
- magento/framework: >=103.0.0
- monolog/monolog: ^2.0
README
Description
Magento 2 module for Varnish logging and cache invalidation. This module logs cache invalidation events for categories and products, helping you monitor Varnish cache operations.
Installation
Composer
composer require barkamlesh/varnishlog
Enable the module
php bin/magento module:enable Kamlesh_VarnishLog php bin/magento setup:upgrade
Usage
- Logs cache invalidation events for categories and products.
- Integrates with Magento's event system.
File Structure
VarnishLog/
composer.json
registration.php
etc/
module.xml
events.xml
Logger/
VarnishLogger.php
Observer/
CacheInvalidation.php
Support
- Issues: https://github.com/barkamlesh/varnishlog/issues
- Source: https://github.com/barkamlesh/varnishlog
License
MIT