Enable or Disable Out-of-Process Error Logging

You can enable or disable out-of-process error logging by using either the API or environment variables. By default, a file called kvoop.log is created in the system temporary directory; however, you can change the path and file name of this file (see Configure the Out-of-Process Error Log).

To enable or disable out-of-process error logging

  • To enable or disable logging through the Java API, set either FILTERFLAG_OOPLOGON or FILTERFLAG_OOPLOGOFF when you instantiate the Filter object:

    Filter objFilter = new Filter("YOUR_KEYVIEW_LICENSE", Filter.CHARSET_UTF8, Filter.FILTERFLAG_OOPLOGON);
  • To enable logging without using the API, set the environment variable KVOOPLOGON and set the variable value to 1. To disable logging, do not set the KVOOPLOGON environment variable.