https://devdocs.magento.com/guides/v2.3/config-guide/cli/logging.html

php bin/magento setup:config:set --enable-debug-logging=true