Logging usage of Python cloud apps.
Project description
Copyright (c) 2016-2019, Resurface Labs Inc. All Rights Reserved.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for usagelogger-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e87d756f64e37e385d9eed763e5fbf38663489967d03d2d3f665b643e43ef83 |
|
MD5 | c643cd1c9af53ba8d869fcd837b50281 |
|
BLAKE2b-256 | 46c8657c51f816e50fee0ee0fddc0d1ced68aeebeea53ecffc22cfcaf966775f |