skip to navigation
skip to content

loggly-handler 0.1.0

Python logging handler that sends messages to Loggly

Latest Version: 0.1.2

Pyhton Logging Loggly Handler

A simple Pyhton logging Loggly handler that can be used to send to a Loggly gen 1 https endpoint. Borrowed the extra fields concept from the graypy logging library.

## Configuration

Excerpt for the json logging configuration.

"handlers": {
"loggly": {
"class": "loggly.handlers.HTTPSHandler",
"level": "INFO",
"url": "",
"facility": "my-app-name"

Adding the handler to a logger

logger = logging.getLogger(__name__)
handler = loggly.handlers.HTTPSHandler('')
logger.setLevel(logging.DEBUG)'sent to loggly')  
File Type Py Version Uploaded on Size
loggly-handler-0.1.0.tar.gz (md5) Source 2014-03-03 1KB