# 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 Change the Path and File Name of the Log File).

## Use the API

To enable or disable logging, call `out_of_process_log()` on a `Configuration` object with the appropriate Boolean value. See The Configuration Class for more information.

## Use Environment Variables

To enable logging, add the `KVOOPLOGON` environment variable, and set the variable value to `1`. To disable logging, do not set the `KVOOPLOGON` environment variable.

_FT_HTML5_bannerTitle.htm