Skip to content

Commit b7c2070

Browse files
authored
Merge pull request #29 from sasjs/bleached-verbose-mode
docs(verbose): updated job and env docs
2 parents fb2a27a + 7802ac7 commit b7c2070

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/env.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ Created when running `sasjs auth` against a Viya target. The CLI will use this
2828

2929
Verbose mode will log a summary of every HTTP request/response to the console - this is helpful in troubleshooting edge cases and unusual server responses.
3030

31-
`VERBOSE=ON` (case insensitive) will enable the debug mode. Everything else (eg `VERBOSE=OFF`) will disable it. The option is disabled by default.
31+
`VERBOSE=ON` (case insensitive) will enable the debug mode. To remove extra colors from logged message, set `VERBOSE=BLEACHED` (case insensitive). Everything else (eg `VERBOSE=OFF`) will disable it. The option is disabled by default.
3232

3333
Verbose mode will also be enabled if `LOG_LEVEL` is set to `Trace` (case insensitive) in the `.env*` file.
3434

3535
!!! note
3636
Verbose mode can also be enabled for a single `sasjs job execute` command by adding the `--verbose`(`-v`) flag.
37+
To enable bleached verbose mode, add `bleached` after `-v` flag (eg `sasjs job execute -v bleached`).

docs/job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Additional arguments may include:
3131
- `--output` (alias `-o`) - path where output of the finished job execution will be saved.
3232
- `--source` (alieas `-s`) - Provide the path to an input JSON containing job variables, structured as follows: `{"macroVars":{"varname":"value","var2":"val2"}}`
3333
- `--target` (alias `-t`) - the target environment in which to deploy the services. If not specified, default target will be used, mentioned in `sasjsconfig.json`. The target can exist either in the local project configuration or in the global `.sasjsrc` file.
34-
- `--verbose` (alias `-v`) - if present, CLI will log summary of every HTTP request/response.
34+
- `--verbose` (alias `-v`) - if present, CLI will log summary of every HTTP request/response. If set to 'bleached' (eg `-v bleached`), CLI will log summary of every HTTP response without extra colors.
3535

3636
The following flags are only relevant for serverType VIYA:
3737

0 commit comments

Comments
 (0)