Skip to content

Commit

Permalink
updated defaults in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalinas committed Aug 19, 2015
1 parent 2458cf1 commit 584ef2e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ Two commands exist for downloading logs.
|:---:|:---------|:-----:|
|-f , --conf-folder|Folder to look for configuration files|`~/.logfetch`|
|-c , --conf-file|configuration file to use(path relative to conf_folder)|default|
|-t , --task-id|Task Id to fetch logs for|
|-r , --request-id|Request Id to fetch logs for|
|-T, --task-count|Number of recent tasks (belonging to a request) to fetch live logs (on machine not s3)|1|
|-t , --task-id|Task Id to fetch logs for||
|-r , --request-id|Request Id to fetch logs for||
|-T, --task-count|Max number of recent tasks (belonging to a request) to fetch live logs (on machine not s3)|20|
|-d , --deploy-id|Deploy Id to fetch logs for (Must also specify requestId when using this option)|
|-o, --dest|Destination folder for download output|`~/.logfetch_cache`|
|-n --num-parallel-fetches|Max number of log fetches to make at once|5|
|-n --num-parallel-fetches|Max number of log fetches to make at once|10|
|-C, --chunk-size|Chunk size for writing responses to file system|8192|
|-u, --singularity-uri-base|Base url for singularity (e.g. `localhost:8080/singularity/v2/api`)| Must be set!|
|-s , --start|Search for logs no older than this, can be an integer number of days or date in format “%Y-%m-%d %H:%M:%S” or “%Y-%m-%d”, leaving off h-m-s will be inclusive for the current day (00:00:00) | 7 days ago|
|-e , --end|Search for logs no newer than this, can be an integer number of days or date in format “%Y-%m-%d %H:%M:%S” or “%Y-%m-%d”, leaving off h-m-s will be inclusive for the current day (23:59:59)| None (now)|
|-z , --local-zone|Specify times for `-s` and `-e` in your local time zone. If this is not set, times are assumed to be in UTC|unset/false|
|-p, --file-pattern|Should match the executor.s3.uploader.pattern setting, determines if we can match on file name for s3 logs|`%requestId/%Y/%m/%taskId_%index-%s-%filename`|
|-N, --no-name-fetch-off|If a logtype matcher is specified, but the s3 log pattern does not include file name, don't download any s3 files| None (fetch all)|
|-g, --grep|Grep string for searching log files(Only for `logfetch`)|
|-g, --grep|Grep string for searching log files(Only for `logfetch`)||
|-l, --logtype|Glob matcher for type of log file to download| None (match all)|
|-S, --skip-s3|Don't search/download s3 logs| false|
|-S, --skip-s3|Don't search/download s3 logs|false|
|-L, --skip-live|Don't search/download live logs|false|
|-V, --verbose|More verbose output||

Expand Down Expand Up @@ -101,11 +101,11 @@ You can also provide the `-g` option which will provide the grep string to the s
|:---:|:---------|:-----:|
|-f , --conf-folder|Folder to look for configuration files|`~/.logfetch`|
|-c , --conf-file|configuration file to use(path relative to conf_folder)|default|
|-t , --task-id|Task Id to fetch logs for|
|-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)|
|-t , --task-id|Task Id to fetch logs for||
|-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|
|-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|

0 comments on commit 584ef2e

Please sign in to comment.