Pergunta

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.

Foi útil?

Solução

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!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange
scroll top