Magento 2 Custom Log File with Monolog (No Extra Classes)
Write Magento 2 logs to a custom file with Monolog using virtual types in di.xml, plus custom handlers, log levels, exception context and log rotation tips.
3 articles
Write Magento 2 logs to a custom file with Monolog using virtual types in di.xml, plus custom handlers, log levels, exception context and log rotation tips.
Fixes for classic Magento 2 errors: Area code is not set, Class does not exist, Invalid Form Key, stuck indexers, Unable to unserialize value, static 404s.
Set up Xdebug 3 for Magento 2 with PhpStorm in Docker: php.ini settings, path mappings, CLI and cron debugging and the full page cache trap.