{"library":"loggly-python-handler","title":"Loggly Python Handler","description":"A Python logging handler that sends log messages to Loggly's cloud-based log management service. Current version 1.0.1 (last updated 2021). Release cadence is low; no recent updates. Supports both HTTP and HTTPS endpoints with optional tags and SSL verification.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install loggly-python-handler"],"cli":null},"imports":["from loggly.handlers import LogglyHandler"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import logging\nfrom loggly.handlers import LogglyHandler\n\ntoken = os.environ.get('LOGGLY_TOKEN', 'your-customer-token')\nhandler = LogglyHandler('https://logs-01.loggly.com/inputs/' + token + '/tag/python/')\nhandler.setLevel(logging.INFO)\nlogger = logging.getLogger(__name__)\nlogger.addHandler(handler)\nlogger.info('Hello from loggly-python-handler')","lang":"python","description":"Sets up a basic Loggly handler that sends logs to the default HTTP endpoint. Replace 'your-customer-token' with your Loggly customer token.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}