Skip to main content

flask-requests-logging

Build Status Test Coverage Code Climate Issue Count PyPI PyPI version PyPI License

Log all Flask requests with varying levels depending on the severity of the result

Installation

pip install flask-requests-logging

Or to install latest master version:

pip install git+https://github.com/smok-serwis/flask-requests-logging.git

Usage

import flask
import logging
from flask_requests_logging import FlaskRequestsLogging

app = flask.Flask(__name__)
FlaskRequestsLogging(app)

Go read the if you're interested in the details.

Enjoy!

Changelog

v1.0

  • breaking change in API
  • streaming requests will be calculated correctly now
  • logger will configure itself automatically to render even the lowest levels

v0.5

  • logger will now log path instead of the match

v0.4

  • added support for logging exception tracebacks

v0.3

  • added measuring how long given request has taken

v0.2

  • added pass_as_extras parameter

v0.1

  • first release, wow!

Release files for flask-requests-logging 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for flask-requests-logging 1.1
File Interpreter ABI Platform
flask_requests_logging-1.1-py3-none-any.whl Python 3 none any Details

Release files / flask_requests_logging-1.1-py3-none-any.whl

Download URL flask_requests_logging-1.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58585a00de5b5f63af3b8cdb6fa8a4768840d4c06ba68e103ead7335fcc40d67
BLAKE2b-256 checksum
How to use checksums
1a0e352d355afcfe82c3982471ae8b70fd35e5ac66a18cc3e43665161ccbd264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

0.6

2 release files

0.5

3 release files

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page