Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hoodie/gutsy
actix based websocket log receiver
https://github.com/hoodie/gutsy
Last synced: 11 days ago
JSON representation
actix based websocket log receiver
- Host: GitHub
- URL: https://github.com/hoodie/gutsy
- Owner: hoodie
- Created: 2018-06-12T15:59:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T16:00:57.000Z (over 6 years ago)
- Last Synced: 2024-10-09T07:12:01.069Z (about 1 month ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gutsy
An actix based network log writer.
it accepts json log lines via websocket and writes them to stdout.
## Example log line:
```json
{
"time":"2018-06-12T23:33:41.193Z",
"category": "cat images",
"message": [
"OMG OMG, this is a gutsy log line",
"you can put anything in here",
[1,2,3]
],
"sequence": 9001,
"clientId": "it's me, Mario",
"tag": "heuer"
}
```## TODO
* [ ] non-blocking file writing
currently we only write to stdout `println!();`.
Eventually something somewhere has to block. Let's use [tokio-fs](https://github.com/tokio-rs/tokio/tree/master/tokio-fs) or something similar.
* [ ] env variable configuration
* [ ] TLS