
RewriteLog Directive
RewriteLog directive is used to specify the name of a logfile. The actions taken by IIS Mod-Rewrite, are written in full detail in the specified logfile.
This directive can be used only once in a rewrite configuration.
Configuration context
- per-server configurations
- per-virtual-host configurations
Syntax
RewriteLog logfile_path
It requires only one argument. logfile_path can be either the full or the relative path to the logfile. When you specify a logfile, make sure that the running IIS process has full access rights on this file.
You can use this directive in conjunction with RewriteLogLevel directive to specify the level of log filtering.
If you want to disable logging, you must either comment out the RewriteLog directive, or specify RewriteLogLevel 0.
|