-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,8 @@ wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.4/humanlog_ | |
|
||
# Example | ||
|
||
If you emit logs in `logfmt` or using the default logrus TextFormatter, you | ||
will enjoy pretty logs when those entries are encountered by `humanlog`. | ||
Unrecognized lines are left unchanged. | ||
|
||
If you emit logs in JSON or in [`logfmt`](https://brandur.org/logfmt), you will enjoy pretty logs when those | ||
entries are encountered by `humanlog`. Unrecognized lines are left unchanged. | ||
|
||
``` | ||
$ humanlog < /var/log/logfile.log | ||
|
@@ -41,7 +39,6 @@ $ humanlog < /var/log/logfile.log | |
How to help: | ||
|
||
* __support more log formats__: by submitting `human.Handler` implementations. | ||
* __following a file__: add support for following a file, alike to `tail -f=name` | ||
* __live querying__: add support for filtering in log output in real time. | ||
* __charting__: some key-values have semantics that could be charted in real time. For | ||
instance, durations, frequency of numeric values, etc. See the [l2met][] project. | ||
|
@@ -56,7 +53,7 @@ USAGE: | |
humanlog [global options] command [command options] [arguments...] | ||
VERSION: | ||
0.0.0 | ||
0.1.4 | ||
AUTHOR: | ||
Antoine Grondin - <[email protected]> | ||
|
@@ -74,5 +71,4 @@ GLOBAL OPTIONS: | |
--help, -h show help | ||
--version, -v print the version | ||
``` | ||
|
||
[l2met]: https://github.com/ryandotsmith/l2met |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ func newApp() *cli.App { | |
app.Author = "Antoine Grondin" | ||
app.Email = "[email protected]" | ||
app.Name = "humanlog" | ||
app.Version = "0.1.3" | ||
app.Version = "0.1.4" | ||
app.Usage = "reads structured logs from stdin, makes them pretty on stdout!" | ||
|
||
app.Flags = []cli.Flag{skipFlag, keepFlag, sortLongest, skipUnchanged, truncates, truncateLength} | ||
|