NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
486 stars 186 forks source link

Finer controls for Logging to determine what goes to stdout, to OSW or to both. Avoid capturing stdout twice #5086

Open jmarrec opened 6 months ago

jmarrec commented 6 months ago

Enhancement Request

Detailed Description

We capture stdout/stderr in the OSRunner and setStdOut/setStdErr on the WorkflowStepResult, which in turns is written to the final out OSW. We often end up seeing the same warnings/errors in the stdout key and in the step_warnings, step_errors, etc.

Possible Implementation