What is the purpose of the iisredirect.log in SPA? (NETIQKB72921)

  • 7772921
  • 07-Apr-2011
  • 06-Oct-2011

Environment

Secure Password Administrator 1.0

Situation

What is the purpose of the iis_redirect.log in SPA?

How do I change the logging level for the iis_redirect.log?

Can the iis_redirect.log be deleted?

Resolution

The iis_redirect.log is a debug log that SPA uses and can be found in ...\Program Files\NetIQ\SPA\logs.  If you look in the ...\Program Files\NetIQ\SPA\conf, there is an iis_redirect.reg file which is the registry key you apply if you use IIS with SPA.  If you look at the text of the .reg file, this drops the key for logging and it is set to debug as the level by default:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/NetIQ_Secure_Password_Administrator/isapi_redirect.dll"
"log_file"="<%%>\\logs\\iis_redirect.log"
"log_level"="debug"
"worker_file"="<%%>\\conf\\workers.properties"
"worker_mount_file"="<%%>\\conf\\uriworkermap.properties"

This key is what generates the iis_redirect.log.  If the file becomes large (over 1GB), you have two options to recover the used space. 

  1. Change the default setting from ?debug? to ?error?, so that it will only log errors with IIS/SPA, then restart the SPA service.
  2. Stop the IIS Admin Service, delete the file, start the IIS Admin Service and then restart the SPA service.  It will create the file anew and slowly build up over time again.

Additional Information

Formerly known as NETIQKB72921