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
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 remote_log-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456521485bfb60248c36d37cc83c0a7f310a7a1d89ee98ce5c0c52c39c135ca9 |
|
MD5 | bb4b409083ae067147a13e0e2895e7fc |
|
BLAKE2b-256 | 5ac7a3d3074e898e94cb0943950dc728fa1f81780a934c032677c7943c5ff4a2 |