Beginnings of more pythonic logging.