When debugging locally, sorting through raw logs can be tedious.
Local Log Watcher streamlines this by monitoring a local log file, intelligently grouping similar entries, and presenting updates in real-time via WebSocket. This makes it easier to spot patterns and anomalies during local testing and development.
- Real-time Monitoring: Listens to changes in the specified log file and processes new entries on-the-fly.
- Log Grouping: Identifies similar log entries and groups them into "Traces".
- WebSocket Server: Provides a WebSocket endpoint that pushes updates to connected clients in real-time.
- Detailed Trace Analytics: Captures the first occurrence, last occurrence, total occurrences, and more for each trace.
./log-watcher --log-file-path /path/to/your/logfile.log
Date: [2023-10-26 21:19:55,526]. If a log entry does not contain the datetime in this format , it will be ignored by Local Log Watcher.
--log-file-path: Specifies the path to the log file you wish to monitor.
- Rust 1.50 or newer
- Cargo