Skip to main content

Advanced logger for pyramid

Project description

Advanced logger for pyramid which add data from the request.

It’s very easy to use:

import pyramid_logging
log = pyramid_logging.getLogger(__name__)


def view(request):
    log.debug('Hello world', request=request)

The output is the same as pyramid_exclog. Some data added:

  • the URL called

  • The query parameters

  • The environment variables

  • the authenticated user

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramid_logging-0.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file pyramid_logging-0.1.tar.gz.

File metadata

  • Download URL: pyramid_logging-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyramid_logging-0.1.tar.gz
Algorithm Hash digest
SHA256 3406c744edcf95be237dfd0dabb8bc449fc817596dddfe08302e32521e3f2a78
MD5 35d203780e9448c6f9ab12ea1e5ec9fc
BLAKE2b-256 f391c47437bfebf28e32bd2aa56515999cddd6726e4f51b10ed0c5dc27953a77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page