https://github.com/balena-io-examples/remote-local-logging
Receiver of logs
https://github.com/balena-io-examples/remote-local-logging
Last synced: 3 months ago
JSON representation
Receiver of logs
- Host: GitHub
- URL: https://github.com/balena-io-examples/remote-local-logging
- Owner: balena-io-examples
- Created: 2020-03-05T20:09:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T03:58:40.000Z (over 2 years ago)
- Last Synced: 2025-01-28T21:35:43.639Z (5 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# remote-local-logging
Receive logs from devices and write them to either stdout to reuse persistent logging, or disk to preserve them
ad-infinitum!To write to disk, simply set the `USE_PERSISTENT_VOLUME` env var.
This app lets you log from other devices locally to a more persistent storage medium, perhaps using the balena
supervisor's journald API endpoint (as explained/demoed
[here](https://github.com/balena-io-playground/device-cloud-logging).## NOTE
This app is demo-quality, there are still many other pieces that need to be implemented for a production app (some of
those listed below):* Log rotation
* Datestamped logging to file
* Syslog integration for easier semantics
* Service discovery / balena API integration