Yesterday I passed my Magento 2.2 to production and the debug.log is collapsing the server every 12 hours. Can someone tell me how to disable the debug.log?
Here is the solution.
https://devdocs.magento.com/guides/v2.2/config-guide/cli/logging.html
This file contain debug logs:
To disable debug logging: You need to run these two commands.
bin/magento config:set dev/debug/debug_logging 0
Flush the cache
bin/magento cache:flush