From 584ef2e42bf6fb9eb8044321ac1f82f05816ba5d Mon Sep 17 00:00:00 2001 From: Stephen Salinas Date: Wed, 19 Aug 2015 09:39:09 -0400 Subject: [PATCH] updated defaults in readme --- scripts/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 921349f6fe..a44656d51f 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -26,12 +26,12 @@ 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| @@ -39,9 +39,9 @@ Two commands exist for downloading logs. |-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|| @@ -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|