module-matrixrate icon indicating copy to clipboard operation
module-matrixrate copied to clipboard

Remove debug calls

Open Detzler opened this issue 11 months ago • 1 comments

Hello,

the logger->debug calls are flooding the log files. Please remove or add config condition around them.

Image

vendor/webshopapps/module-matrixrate/src/Model/ResourceModel/Carrier/Matrixrate.php

Thanks a lot.

Detzler avatar Dec 11 '25 12:12 Detzler

Hello,

My name is Ivan, a Technical Support Engineer with ShipperHQ. Thank you for your feedback.

I have passed this along to our Engineering Team.

We will follow up with you with any updates or additional questions.

Thank you, Ivan J

shqsupport avatar Dec 11 '25 20:12 shqsupport

Hello,

I wanted to follow up as we have an update from our Engineering Team.

We are using the standard Magento logger. Log output is primarily controlled by the Magento deploy mode.

Deploy Mode (Primary Control) The most important factor is Magento's deploy mode:

Developer Mode: Debug logs ARE written to var/log/debug.log Production Mode: Debug logs are NOT written (only logs at NOTICE level and above) Default Mode: Debug logs are NOT written

Check your current mode: bin/magento deploy:mode:show We're not switching to a different logger at this time.

Let us know if you have any questions.

Thank you, Ivan J

shqsupport avatar Dec 16 '25 18:12 shqsupport

Hello Ivan,

due to the fact that the new relic agent captures the monolog entries regardless of the magento deploy mode, misled me to the conclusion that the matrixrate plugin isn't working properly. My fault. Case closed. Thank you for your time.

Detzler avatar Dec 16 '25 19:12 Detzler