Adds logging handler that outputs logs to Stdout (standard output) in JSON format.
composer require vaimo/module-stdout-json-logger
php bin/magento module:enable Vaimo_StdoutJsonLogger
php bin/magento setup:upgrade
Output can be disabled by setting the dev/debug/stdout_json_logger_output_disabled
config path to true. This is handy for example when running Magento integration tests - set this to true in config-global.php
for cleaner output to cli when running tests.
Support will be provided on a best efforts basis through GitHub Issues. Pull requests are welcome.