-
Notifications
You must be signed in to change notification settings - Fork 63
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
Separation of simulation results and errors #563
Comments
Hi @t-sommer, I am wondering if you could also help us with the -e option (the redirecting of the fmi errors/warnings to a file). I believe this could be of great help for other developers as well. Thank you! |
Isn't this solved with #565? |
Not really. Resulting log.txt file with the running of the Resulting log.txt file with the running of the Please note that in all 3 cases the warning |
I might have misunderstood, but shouldn't the --fmi-log-file redirect the output to the file specified? It only seems to write the FMIok ones. |
|
What we wish for, and find really useful, is the possibility to re-direct the two "types" of information (aka. output that is per default being printed in the terminal) to two individual files. This was possible in FMI Compliance Checker by calling: |
Why don't you just pipe the output to a file?
That way you also catch messages that are printed directly to the console bypassing the FMI API. |
Yes, this works but the separation is very much preferred option. |
Hello @t-sommer would you please consider our proposed feature for implementation? |
In FMI Compliance Checker, the separation of "Error logs" (-e) from Simulation Results (-o) was very handy. Also the possibility to select the "verbosity" of logging (I believe logging of errors) via (-l) was super useful.
It seems the warning/error logging is now also being added to fmusim #559 which I am very happy about.
Could you please also add an equivalent of the -l option for setting the "verbosity"?
The text was updated successfully, but these errors were encountered: