Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlo-colombo/streamlog
https://github.com/carlo-colombo/streamlog
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlo-colombo/streamlog
- Owner: carlo-colombo
- License: mit
- Created: 2024-03-16T00:05:14.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T12:16:50.000Z (2 months ago)
- Last Synced: 2024-10-31T19:12:37.610Z (2 months ago)
- Language: Elixir
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlog
Local log viewer supporting filtering and highlighting all in a single elixir script, using Phoenix Live View.
## Usage
```bash
tail -f some-log-file | /streamlog.exs --open --port 9090 --title 'some-log-file logs'
``````bash
./some-program-loggin-on-stdout | /streamlog.exs --port 9091 --title 'program logs'
```## Options
* `--port` to run on a different port than the defaul (5051)
* `--title` to assign a title to the page
* `--open` open Streamlog in the browser## Technicalities
* logs are stored in an ets table
* streamlog exposes a live dashboard on `/dashboard` for debug purpose and curiosity