File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 3
3
import json
4
4
import warnings
5
5
from email .utils import parseaddr
6
- import logging
7
6
8
7
from .base import Resource
9
8
from .exceptions import SparkPostException
10
9
11
- log = logging .getLogger (__name__ )
12
10
13
11
try :
14
12
string_types = basestring
@@ -254,11 +252,6 @@ def send(self, **kwargs):
254
252
255
253
payload = self ._translate_keys (** kwargs )
256
254
data = json .dumps (payload )
257
- # payload log dumping was added per request from Steve from Sparkpost
258
- # support, during debugging of DKIM signature validation problem with
259
- # some messages Case ID# 203488
260
- # Payload dumping can be disabled with usual python log configuration
261
- log .debug ("Payload data: %s" , data )
262
255
results = self .request ('POST' , self .uri , data = data )
263
256
return results
264
257
You can’t perform that action at this time.
0 commit comments