Enable or Disable Error Logging

You can enable or disable 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 Error Log).

To enable or disable error logging

  • To enable or disable logging through the C API, set either KVF_OOPLOGON or KVF_OOPLOGOFF in the dwFlags argument of the KVFilterInitOptions structure that you pass to fpInit(), or set the flag in the final argument of fpOpenStreamEx2().
  • 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.