Skip to content

Commit bd5edfd

Browse files
author
austin
committed
don't configure logging module in library code
1 parent 7d97586 commit bd5edfd

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

authorizenet/apicontrollersbase.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -236,18 +236,6 @@ def __init__(self, apiRequest):
236236

237237
APIOperationBase.setmerchantauthentication(__merchantauthentication)
238238

239-
if ( False == APIOperationBase.__classinitialized()):
240-
loggingfilename = utility.helper.getproperty(constants.propertiesloggingfilename)
241-
logginglevel = utility.helper.getproperty(constants.propertiesexecutionlogginglevel)
242-
243-
if (None == loggingfilename):
244-
loggingfilename = constants.defaultLogFileName
245-
if (None == logginglevel):
246-
logginglevel = constants.defaultLoggingLevel
247-
248-
logging.basicConfig(filename=loggingfilename, level=logginglevel, format=constants.defaultlogformat)
249-
__initialized = True
250-
251239
self.validate()
252240

253241
return

0 commit comments

Comments
 (0)