Skip to content

Instantly share code, notes, and snippets.

View rdowne's full-sized avatar

Richard Downe rdowne

View GitHub Profile
import logging
from logging.handlers import SysLogHandler
l = SysLogHandler(address=('myhost.mydomain.com', 7099))
log = logging.getLogger('test')
ssf = logging.Formatter('%(name)s[%(process)d]: %(levelname)s %(message)s')
l.setFormatter(ssf)
log.error("Testing out")

Keybase proof

I hereby claim:

  • I am rdowne on github.
  • I am robotblackdebbie (https://keybase.io/robotblackdebbie) on keybase.
  • I have a public key whose fingerprint is 2374 A501 B538 42E1 E8D9 5363 18C6 6E13 CEDA 39AE

To claim this, I am signing this object: