Replaced instances of logging.{debug, info, warn, error} with logging.getLogger(__name__).{debug, info, warn, error} for better logging support