Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalinas committed May 20, 2016
1 parent a298a05 commit 0675c44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ For example, to tail the `service.log` file for all tasks for a request named `M

- The path for the log file is relative to the base path for that task's sandbox. For example, to tail a file in `(sandbox path)/logs/access.log`, the argument to -l would be `logs/access.log`

You can also provide the `-g` option which will provide the grep string to the singularity API and search the results. This can be a string to match on or a full grep command as above.
As of `0.25.0` a grep option is no longer supported in `logtail`. it more efficient/usable, and therefore recommended, to pipe output to grep for this type of functionality.

##Options
|Flags|Description|Default|
Expand All @@ -109,7 +109,6 @@ You can also provide the `-g` option which will provide the grep string to the s
|-r , --request-id|Request Id to fetch logs for||
|-d , --deploy-id|Deploy Id to fetch logs for (Must also specify requestId when using this option)||
|-u, --singularity-uri-base|Base url for singularity (e.g. `localhost:8080/singularity/v2/api`)|Must be set!|
|-g, --grep|Grep string or full command for searching output||
|-l, --logfile|Log file path to tail (ie logs/access.log)|Must be set!|
|-V, --verbose|Extra output about the task id associated with logs in the output|False|
|--silent|No output except for log content, overrides -V|false|
Expand Down

0 comments on commit 0675c44

Please sign in to comment.