Capturing ODM Studio console output into a text file
How do I capture ODM Studio console output into a text file?
It is often useful to check the ODM Studio console output for traces of errors or other unexpected warnings.
You can do so by launching ODM studio with the "-debug" option. This will result in the printing of the console logs in a new DOS window.
To export the ODM console output to a text file, open a command prompt window (Start -> Run -> cmd) and execute the following commands:
<JRE_dir>\bin\java ilog.oplodm.service.IloOplOdmLauncher -debug ODM_app.odmapp > output.txt 2>&1
This should redirect the console output generated by running ODM_app.odmapp (replace it with your ODM application's absolute location) to a file called output.txt (present in the command prompt's current directory).
Note that you need to list all the jars required by the ODM application in CLASSPATH. In this example, only the two essential jars are listed. In practice, you might need to add other custom or standard jars (under <ODME_dir>\lib) to the CLASSPATH environment variable.
More support for:
IBM Decision Optimization Center
Developing and debugging
Software version: 3.3, 22.214.171.124, 126.96.36.199, 3.4, 188.8.131.52, 184.108.40.206, 220.127.116.11, 3.5, 3.6, 18.104.22.168
Operating system(s): Windows
Software edition: All Editions, Edition Independent
Reference #: 1619192
Modified date: 2012-12-19