Skip to main content

Capturing ODM Studio console output into a text file


Technote (FAQ)


Question

How do I capture ODM Studio console output into a text file?

Cause

It is often useful to check the ODM Studio console output for traces of errors or other unexpected warnings.

Answer

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:


set PATH=<ODME_dir>\bin\x86_win32;%PATH%
set CLASSPATH=<ODME_dir>\lib\odmeall.jar;<ODME_dir>\lib\oplall.jar;%CLASSPATH%
<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.


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG ODM Enterprise

Developing and debugging


Software version:
3.3, 3.3.0.3, 3.3.0.4, 3.4, 3.4.0.1, 3.4.0.2, 3.4.0.3, 3.5, 3.6, 3.6.0.1


Operating system(s):
Windows


Software edition:
All Editions, Edition Independent


Reference #:
1619192


Modified date:
2012-12-19

Translate my page

Content navigation