ErrorLog directive is used to specify the name of an error logfile. Any execution error or override (.htaccess) configuration parsing error is written in this logfile.
This directive can be used only once in a rewrite configuration.
- per-server configurations
- per-virtual-host configurations
It requires only one argument. logfile_path is the full path to the logfile. When you specify a logfile, make sure that the running IIS process has full access rights on this file.
If you want to disable error logging, you must either comment out or delete the LogError directive.