| Crates.io | logram |
| lib.rs | logram |
| version | 2.0.0 |
| created_at | 2017-11-05 06:32:21.090643+00 |
| updated_at | 2021-01-23 01:01:01.926975+00 |
| description | Utility that takes logs from anywhere and sends them to Telegram |
| homepage | |
| repository | |
| max_upload_size | |
| id | 38200 |
| size | 99,497 |
Utility that takes logs from anywhere and sends them to Telegram. Supports log collection from files, journald and docker containers. More about available log sources see at docs/log_sources.md.
sudo dpkg -i logram-...amd64.debsudo rpm -i logram-...x86_64.rpmdocs/chat_id.md)/etc/logram.yaml in Linux) (see docs/config.md)sudo systemctl start logramsudo systemctl enable logramAlso logram can work with log, see docs/lib.md for detals.
If you need to build a logram manually, do this:
git clone git@github.com:mxseev/logram.gitbin_core - required for all log sourcesls_counter - Counter log sourcels_filesystem - Filesystem log sourcels_journald - Journald log sourcels_docker - Docker log sourcecargo build --release --features=bin_core,ls_filesystem.deb packagecargo-debpackage.metadata.deb.features in Cargo.tomlcargo debtarget/debian/logram_..._amd64.deb.rpm packagecargo-generate-rpmcargo build --release --features=bin_core,...strip -s target/release/logramcargo generate-rpmtarget/generate-rpm/logram-...x86_64.rpm