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.
1 Answer 1
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!
-
1Its working for me. +1 for this.Chirag Parmar– Chirag Parmar2019年10月18日 11:21:42 +00:00Commented Oct 18, 2019 at 11:21
-
Thanks, Buddy for appreciation! :)Kishan Savaliya– Kishan Savaliya2019年10月18日 11:22:21 +00:00Commented Oct 18, 2019 at 11:22