Skip to main content

Logging usage of Python cloud apps.

Project description

© 2016-2019 Resurface Labs Inc.

Logging usage of Python cloud apps, with user privacy by design.

Dependencies

The Resurface Labs logger package works on Python versions:

  • 3.4.x and greater

  • 3.5.x and greater

  • 3.6.x and greater

  • 3.7.x and greater

Installation

The easiest way to install the Resurface Labs logger is to use pip in a virtualenv:

$ pip install usagelogger

or, if you are not installing in a virtualenv, to install globally:

$ sudo pip install usagelogger

or for your user:

$ pip install --user usagelogger

If you have the logger installed and want to upgrade to the latest version you can run:

$ pip install --upgrade usagelogger

You can also just download the tarball. Once you have the logger directory structure on your workstation, you can just run:

$ cd <path_to_logger>
$ python setup.py install

Logging from Django

Logging from Flask

Logging With API

Loggers can be directly integrated into your application using our API. This requires the most effort compared with the options described above, but also offers the greatest flexibility and control.

Protecting User Privacy

Loggers always have an active set of Logging rules documentation that control what data is logged and how sensitive data is masked. All of the examples above apply a predefined set of rules (include strict), but logging rules are easily customized to meet the needs of any application.

Project details


Download files

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

Source Distribution

usagelogger-0.1.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

usagelogger-0.1.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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