THRIFT-2663: py - per module logger used in python lib

Client: Python-Library
Patch: Dustin Spicuzza

This enables per module log message filtering

This closes #187
diff --git a/lib/py/src/server/TProcessPoolServer.py b/lib/py/src/server/TProcessPoolServer.py
index 7369466..eefb623 100644
--- a/lib/py/src/server/TProcessPoolServer.py
+++ b/lib/py/src/server/TProcessPoolServer.py
@@ -19,6 +19,8 @@
 
 
 import logging
+logger = logging.getLogger(__name__)
+
 from multiprocessing import  Process, Value, Condition, reduction
 
 from TServer import TServer
@@ -62,7 +64,7 @@
             except (KeyboardInterrupt, SystemExit):
                 return 0
             except Exception, x:
-                logging.exception(x)
+                logger.exception(x)
 
     def serveClient(self, client):
         """Process input/output from a client for as long as possible"""
@@ -77,7 +79,7 @@
         except TTransportException, tx:
             pass
         except Exception, x:
-            logging.exception(x)
+            logger.exception(x)
 
         itrans.close()
         otrans.close()
@@ -98,7 +100,7 @@
                 w.start()
                 self.workers.append(w)
             except Exception, x:
-                logging.exception(x)
+                logger.exception(x)
 
         # wait until the condition is set by stop()
         while True:
@@ -109,7 +111,7 @@
             except (SystemExit, KeyboardInterrupt):
                 break
             except Exception, x:
-                logging.exception(x)
+                logger.exception(x)
 
         self.isRunning.value = False