NatLabRockies / NatLabRockies/OpenStudio
Measure runner.registerInfo output only shows up with --verbose flag
@jmarrec is already working on this.
Since Jan 23, 2024.
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
When running a measure with the new CLI, runner.registerWarn messages will show up in the output with --show-stdout but runner.registerInfo messages will not. When using the classic CLI, runner.registerInfo messages do show up in the output without the --verbose flag.
Current Behavior
Info messages from the measures do not show up in the stdout output.
Expected Behavior
Info messages from the measures shouldshow up in the stdout output.
Steps to Reproduce
- Create a measure with runner.registerInfo statements
- Add measure to a workflow
- Run the workflow with
openstudio run --show-stdout --style-stdout -w c:\test\untitled\workflow.osw - Verify that info statements are not present
- Run the workflow with
openstudio --verbose run --show-stdout --style-stdout -w c:\test\untitled\workflow.osw - Verify that info statements are present
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version): Windows 11
- Version of OpenStudio (if using an intermediate build, include SHA): 3.7.0
Context
Info messages are important for users, these messages should be present without needing the --verbose flag
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.