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.