Enable or Disable Legacy Out-of-Process Error Logging

IMPORTANT: Out-of-process error logging is available only when you configure KeyView to use the legacy out-of-process method. See Use the Legacy Out-of-Process Method.

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 Legacy Out-of-Process Error Log).

To enable or disable out-of-process error logging

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

    Filter objFilter = new Filter("YOUR_KEYVIEW_LICENSE", Charset.KVCS_UTF8,
        FilterConstant.FilterFlagsConstant.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.