Skip to main content

A simple function to send logging data to a remote server.

Project description

import remote_log
remote_log("https://myserver.com/log/", "log this my dear logging server")

It sends a POST request to the server with the data you passed. If the system is offline, it stored the logs offline and sends all the data on the next call of remote_log.

This way you are always assured you will receive the data to be logged.

It also sends basic system information. Any uniquely identifiable information is not sent as plain text. It is hashed on the system using SHA256 before being sent. This way the logging server can still uniquely identify a log request but have no traceability back to the system that sent it thus allowing you to take a PRIVACY FIRST approach to logging.

The function remote_log is non blocking and doesn't return anything. It's only purpose is to send logging data.

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

remote-log-1.0.11.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

remote_log-1.0.11-py3-none-any.whl (4.3 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