redchamps/module-log-restrictions (packagist): It will help you to allow only critical information to logs.
Keywords: php|magento|magento2