|
|
|
@ -113,6 +113,7 @@ def main(*args, **keywords):
|
|
|
|
|
file_logger.setLevel(logging.DEBUG)
|
|
|
|
|
|
|
|
|
|
# Add the log message handler to the logger
|
|
|
|
|
try:
|
|
|
|
|
handler = logging.handlers.RotatingFileHandler(
|
|
|
|
|
log_filename, maxBytes=10000000, backupCount=3)
|
|
|
|
|
|
|
|
|
@ -123,6 +124,8 @@ def main(*args, **keywords):
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
|
logger = logging.getLogger('soaplib.wsgi')
|
|
|
|
|
logger.setLevel(logging.DEBUG)
|
|
|
|
|
except IOError:
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
from urllib2 import URLError
|
|
|
|
|
|
|
|
|
|