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
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3406c744edcf95be237dfd0dabb8bc449fc817596dddfe08302e32521e3f2a78
|
|
| MD5 |
35d203780e9448c6f9ab12ea1e5ec9fc
|
|
| BLAKE2b-256 |
f391c47437bfebf28e32bd2aa56515999cddd6726e4f51b10ed0c5dc27953a77
|