Domanda

I want to override this file

vendor/magento/framework/Logger/Handler/System.php

Basically I want to disable system.log and exception.log from var/log folder. I found that

vendor/magento/framework/Logger/Handler/System.php

this file can write in log.

Does anyone know how to override this file ? Thanks in advance.

È stato utile?

Soluzione

You can override this file

vendor/magento/framework/Logger/Handler/System.php

here in this directory..

lib/internal/Magento/Framework/Logger/Handler/System.php

Hope this will help you!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top