1 parent d2d2f63 commit 04ef03fCopy full SHA for 04ef03f
1 file changed
CloudFlare/logging_helper.py
@@ -1,6 +1,12 @@
1
""" Logging for Cloudflare API"""
2
import logging
3
4
+# try:
5
+# import http.client as http_client
6
+# except ImportError:
7
+# # Python 2
8
+# import httplib as http_client
9
+
10
DEBUG = 0
11
INFO = 1
12
@@ -33,6 +39,8 @@ def getLogger(self):
33
39
# add ch to logger
34
40
logger.addHandler(ch)
35
41
42
+ # http_client.HTTPConnection.debuglevel = 1
43
36
44
return logger
37
45
38
46
def _get_logging_level(self, level):
0 commit comments