Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Authorize.net AIM still generating debug logs even with debug disabled

Authorize.net AIM still generating debug logs even with debug disabled

Locked

Views: 2,279

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 May 2010, 4:28 PM
#1
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Authorize.net AIM still generating debug logs even with debug disabled

Hrmm.. my debug logging is off and I'm still getting the files.

I just tried uninstalling/reinstalling to see if that will help. Debug logging is shut off but database logging is turned on.

However I'm still getting DEBUG files in my cache directory for what seems like every transaction. (Had 5 approvals and one where he had his address wrong the first time)

I'll get back with the results of uninstalling / reinstalling once I have a few more orders.

Anthony

10 May 2010, 1:55 PM
#2
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Authorize.net AIM still generating debug logs even with debug disabled

llynix:

I'll get back with the results of uninstalling / reinstalling once I have a few more orders.

Just checked and the Debug logs seem to be coming in no matter what.

Hrmm..

10 May 2010, 3:38 PM
#3
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Authorize.net AIM still generating debug logs even with debug disabled

Ok.. trying to debug this one. Little lost but maybe I found it?

/includes/modules/payment/authorizenet_aim.php Line 614

if (strstr(MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING, 'Log') || strstr(MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING, 'All') || (defined('AUTHORIZENET_DEVELOPER_MODE') && in_array(AUTHORIZENET_DEVELOPER_MODE, array('on', 'certify'))) || true) {

I may be mistaken? But doesn't that || true kinda throw the whole thing off? Thereby making logging always on by default?

For reference sake MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING is set to 'Off'.

Anthony

11 May 2010, 12:03 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net AIM still generating debug logs even with debug disabled

Yes, in v1.3.9a/b, removing that || true will stop the unexpected behavior.