diff --git a/src/script/README-loglite.md b/src/script/README-loglite.md index 971a6b8..64c3098 100644 --- a/src/script/README-loglite.md +++ b/src/script/README-loglite.md @@ -7,8 +7,11 @@ The loglite script allows coloring and filtering of log files by specifying cert The script can follow an existing log file (comparable to `tail -f`), or it can follow its standard input. A file to follow is always specified as the first argument and a filter set name as the second (use '-' as file name to read from standard input). Details on filter sets can be found below. If no filter set is mentioned on the command-line, the script will attempt to use one named 'default'. -* Example following an existing log file using a filter set named 'example': `./loglite.lua print3d.log example`. -* Example using standard input, to capture both output streams from `print3d`, with a filter set named 'example' (note the '-' as file name): `./print3d -V 2>&1 | ./loglite.lua - example`. +* Example following an existing log file using a filter set named 'example': `./loglite.lua print3d.log example`. +* Example using standard input, to filter/view a whole log file, with a filter set named 'serial' (note the '-' as file name): +`cat print3d-ttyACM0.log | ./loglite.lua - serial` +* Example using standard input, to capture both output streams from `print3d`, with a filter set named 'example' (note the '-' as file name): +`./print3d -V 2>&1 | ./loglite.lua - example`. ### Filter sets