Skip to main content

Log all your Flask requests with severity depending on the result code

Project description

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
from flask_requests_logging import FlaskRequestsLogging

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

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

Enjoy!

Changelog

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!

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flask_requests_logging-0.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file flask_requests_logging-0.4-py3-none-any.whl.

File metadata

  • Download URL: flask_requests_logging-0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for flask_requests_logging-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35a544ea0782d043eac8b1cea387c3c2e56903c049d436a44a1a9cadf8375e9d
MD5 cb3d9d84dad39dafc3919fd95bef9ffc
BLAKE2b-256 8790a0162f55e68b07d10b0ff27896d108fc85eb4fefc6b128b61c47ab5e561c

See more details on using hashes here.

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