Skip to main content

access log logger tween (almost stolen from Paste.translogger)

Project description

development.ini

# add pyramid_translogger
pyramid.includes = pyramid_translogger

access log is shown

serving on http://0.0.0.0:6543
127.0.0.1 - - [01/Nov/2014:14:21:56 +0900] "GET / HTTP/1.1" 200 - "-" "curl/7.33.0"
127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0"
127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/theme.css HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0"
127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/pyramid.png HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0"
127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0"
127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/img/pdtb.png HTTP/1.1" 304 - "http://localhost:6543/_debug_toolbar/static/css/toolbar.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0"

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_translogger-0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

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