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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remote_log-1.0.11-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file remote-log-1.0.11.tar.gz.

File metadata

  • Download URL: remote-log-1.0.11.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for remote-log-1.0.11.tar.gz
Algorithm Hash digest
SHA256 b919c7497627bd637f2ebd39ab7a99ca279d1cafe2c5bcbfa8d7fa781467701a
MD5 5c8090ab1d6672cbc35911429b6f2254
BLAKE2b-256 a91f42f1456ad03f5d51da907e145df69088378011d9eec8069e36c4e8b5696e

See more details on using hashes here.

File details

Details for the file remote_log-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: remote_log-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for remote_log-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b98a4e8087426cfccefe98a540303dc4c25fcd7e98f42ffba2d99c055f0a3dec
MD5 94ca7a52dc1932829e505cdc02059287
BLAKE2b-256 6dc5ac17c9eb5ffb7f727fea33baba9c6d1f01b2019c59f3d0b2c4b8aba7b1c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page