Page History
...
Code Block |
---|
Logger.setLevel("Off"); Logger.setLevel("Critical"); Logger.setLevel("Error"); Logger.setLevel("Warn"); Logger.setLevel("Info"); % default Logger.setLevel("Debug"); Logger.setLevel("Trace"); |
When performing batch processing or optimization you can turn off logging completely by calling Logger.setLevel("Off").
You can always add a new file during runtime to start logging into (in addition to whatever the current logging behavior is). This can be done by calling
Code Block | ||
---|---|---|
| ||
Logger.addFileSink('logs_folder/full_path.log'); |
Make sure you have permission to write to the logs_folder.
Batch Processing
There are several examples in the Matlab scripts and GUI scripts that show how to perform batch processing by calling the OpenSim API (e.g. Analyze, IK). We encourage you to use this approach rather than using Matlab's xml parsing tools. To read more about why this is the case, please see the scripting FAQ:
...