Popularity
2.7
Stable
Activity
0.0
Declining
95
3
11
Programming language: Rust
License: MIT License
Latest version: v1.2.0
logram alternatives and similar packages
Based on the "System tools" category.
Alternatively, view logram alternatives based on common mentions on social networks and blogs.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of logram or a related project?
Popular Comparisons
README
logram - pipe log updates to Telegram
Logram takes logs from files and systemd services and send them to Telegram.
Usage
- Download the latest release and install it:
sudo dpkg -i logram_..._amd64.deb
- Create bot via @BotFather
- Run logram in
echo_id
mode:logram echo_id --token=...
- Send any message to bot and he will answer chat id
- Change config at
/etc/logram.yaml
- Run via systemd:
sudo systemctl start logram
- Optionally: enable systemd service (for autostart):
sudo systemctl enable logram
Usage with log
- Load
logram
as librarytoml [dependencies] logram = "1.2"
- Init logram ```rust use log::{debug, error, info, log, trace, warn, Level}; use logram;
fn main() { logram::init( "bot token".to_string(), "chat id".to_string(), Level::Error, ) .unwrap();
error!("error");
}
Limitations: log records with target starts with `tokio_reactor, hyper, mio, want or reqwest` will be skipped, because [limitations in log](https://github.com/rust-lang-nursery/log/issues/312).