Frage

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.

War es hilfreich?

Lösung

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!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange
scroll top