Skip to content

Instantly share code, notes, and snippets.

@guillermo-carrasco
Created September 19, 2013 13:10
Show Gist options
  • Save guillermo-carrasco/6623249 to your computer and use it in GitHub Desktop.
Save guillermo-carrasco/6623249 to your computer and use it in GitHub Desktop.
Redis Handler test
import logging
from logbook.queues import RedisHandler
h = RedisHandler(key='python_agent')
l = logging.getLogger('redis')
l.addHandler(h)
l.warn('hejjjjjj')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment