Skip to content
Sigmund is a remote logging service for Django.
Python JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
sigmund
.gitignore
LICENSE
README.md
requirements.txt add api key authentication Nov 18, 2013
setup.py

README.md

sigmund

Sigmund is a remote logging service for Django.

getting started

sigmund-server

  1. Add sigmund to INSTALLED_APPS
  2. Add SigmundResource to urls.py
  3. Run python manage.py syncdb
  4. If cross-domain support is required:
    • Add SIGMUND_ALLOW_ORIGIN= to settings.py
    • Add sigmund.middleware.SigmundAllowOriginMiddleware to installed middleware

sigmund-client

  1. Add sigmund to INSTALLED_APPS
  2. Add some things to settings.py:
  3. Set up your log handler:

    LOGGING = {
      ...
      'handlers': {
         'sigmund': {
            'level': 'INFO',
            'class': 'sigmund.logging.handlers.SigmundHandler',
         },
         ...
      'loggers': {
         'bagels': {
            'handlers': ['sigmund', 'debug'],
            'level': 'DEBUG',
            'propagate': True,
         },
         ...
      },
      ...
    
  4. Start logging!

    import logging
    logger = logging.getLogger('bagels')
    logger.warning("you can't handle the truth!")
    
Something went wrong with that request. Please try again.