Skip to content

Commit

Permalink
Remove feature 'logterm' (which was a typo anyway :)
Browse files Browse the repository at this point in the history
  • Loading branch information
happybeing committed Aug 20, 2020
1 parent 5bf72d4 commit b69b8f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ edition = "2018"

[features]
default = ["termion"]
logtail = []

[dependencies]
rand = "0.7.3"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ Builds logtail-crossterm which uses the crossterm backend (see [tui-rs](https://

NOT working on Windows yet, this is being worked on at the moment. Help with testing appreciated.
```
cargo build --bin logtail-crossterm --features="crossterm" --features="logterm" --release
cargo build --bin logtail-crossterm --features="crossterm logtail" --release
```

### Quick Test
Here's a couple of useful commands to build and run `logtail` to monitor a couple of Linux logfiles.

Open two terminals and in one run logtail-dash with:
```
RUSTFLAGS="$RUSTFLAGS -A unused" cargo run --bin logtail --features="termion" --features="logterm" /var/log/auth.log /var/log/kern.log
RUSTFLAGS="$RUSTFLAGS -A unused" cargo run --bin logtail --features="termion logtail" /var/log/auth.log /var/log/kern.log
```

In a second terminal you can affect the first logfile by trying and failing to 'su root':
Expand Down

0 comments on commit b69b8f3

Please sign in to comment.