Home | Previous Page | Next Page   Getting Started >

Logging Install Events

For each of the installation modes, you can enable logging by specifying the -log option when you execute the command to install the driver. Add the -log option followed by arguments for file type, event type, and file location. For instance, to install the IBM Informix JDBC Driver in graphical mode and retain a log of the event, you would execute the following:

java -cp setup.jar run -log #![filename] @ [event type];[event type]

Where # echoes the display to standard output, ![filename] is your name for the log file, and @ precedes the event type. You can omit the [filename] argument to save the log information to the default file name.

A table of common event types follows.

Argument
Event Type
err
Errors
wrn
Warning
msg1
Primary events
msg2
Secondary events
dbg
Debug events
ALL
All events
NONE
Disables logging and clears the log file

For example, the following of the command installs IBM Informix JDBC Driver in the graphical mode and logs all events to /tmp/jdbcinstall.log:

java -cp setup.jar run -log  !/tmp/jdbcinstall.log  @ ALL

The following command installs IBM Informix JDBC Driver in silent mode and logs error events to /tmp/jdbcinstall.log:

java -cp setup.jar run -silent -P product.installLocation=< > -log
!"/tmp/jdbcinstall.log" @err
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]