- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018
02:54 AM
07-27-2018
02:54 AM
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?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018
03:07 AM
07-27-2018
03:07 AM
Re: Hug size of debug.log file in Magento 2.2 - Production
Here is the solution.
https://devdocs.magento.com/guides/v2.2/config-guide/cli/logging.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018
03:28 AM
07-27-2018
03:28 AM
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