Home | Previous Page | Next Page   Creating Java User-Defined Routines > Debugging and Tracing >

Generating Log Messages

Log messages in the JVP log file can originate from any of the following sources:

By default, the JVP uses the following log file:

./jvp.log

where '.' is the current directory of the user who runs oninit.

You can change this default log file with the JVPLOGFILE parameter in the ONCONFIG configuration file. Set this configuration parameter to the name of the log file that you want the JVP to use. For example, the following line sets the log file to /usr/jvp.log:

JVPLOGFILE /usr/jvp.log

Important:
Do not use the JVP log for error messages that need to be reported to the client application or to the main online.log file. Instead, the method should throw an SQLException.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]