Convert to logging.Formatter class.
Write semi-backwards-compatible log.py using native logging package,
writing to console and syslog.