Added additional options to log which included the module name and function.
More info can be obtained here:
http://docs.python.org/2/library/logging.html#logrecord-attributes
Search for
"LogRecord attributes"