Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI to print the full outputs (instead of the partial one ending in ...) as needed? #1000

Open
shuchihlin opened this issue Jun 22, 2017 · 1 comment

Comments

@shuchihlin
Copy link

In CLI we noticed the outputs could get truncated and wonder whether the can be changed as needed (i.e. to always display the complete outputs instead of a partial one ending in "...". I raised this question at teh slack channel and Andrei asked to file an issue so the team could investigate "possibilities of verbosity".

example:
cslang>run --f /var/tmp/cslang-cli/content/io/cloudslang/amazon/aws/ec2/instances/run_instances.sl --i identity=xxx,credential=yyy,image_id=ami-31814f58

Operation outputs:

  • return_result =
    InvalidParameterValue</Code... <= can we elect to see full outputs??
  • return_code = -1
    Operation: run_instances finished with result: FAILURE
    Execution id: 101600050, duration: 0:00:02.024
@levice14
Copy link
Collaborator

levice14 commented Jun 26, 2017

@shuchihlin currently the character limit for output values in the CLI is 100 so the console window will not be flooded with output data - if you would like to see the whole output value, you can check the <cli home>/logs/execution.log: you should look for an event of type EVENT_OUTPUT_END - under outputs key

WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants