cancel
Showing results for 
Search instead for 
Did you mean: 

Hug size of debug.log file in Magento 2.2 - Production

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Hug size of debug.log file in Magento 2.2 - Production

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?

2 REPLIES 2

Re: Hug size of debug.log file in Magento 2.2 - Production

Re: Hug size of debug.log file in Magento 2.2 - Production

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