This article describes how to obtain the Ngthrlog.vbs tool and how to use the tool to view information that is contained in the gatherer logs in Microsoft Office SharePoint Portal Server 2003. The Ngthrlog.vbs tool improves on and replaces the Gthrlog.vbs tool that is included in the Support\Tools folder on the SharePoint Portal Server 2003 CD-ROM.
How to obtain the Ngthrlog.vbs tool
To obtain the Ngthrlog.vbs tool, contact Microsoft Product Support Services (PSS). For a complete list of Microsoft Product Support Services phone numbers, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and to issues that do not qualify for the specific update in question.
Overview of the Ngthrlog.vbs tool
Every time that SharePoint Portal Server 2003 creates or updates an index, SharePoint Portal Server 2003 creates a gatherer log entry in a table in the component settings database for the portal site. Log entries contain data about URLs that are accessed while the index is being created. The log can record successful accesses, indexing warnings, access errors, and accesses that are not permitted by rules.
By default, SharePoint Portal Server 2003 logs index warnings and access errors. If you want to log either successful accesses or accesses that are not permitted by rules, you can configure these options.
You can view the content of gatherer logs on the
Gatherer Log Details page of the portal site. You can also use the Ngthrlog.vbs tool to view the information that is contained in the gatherer logs. Ngthrlog.vbs is a Microsoft Visual Basic script file that connects to a database that is stored in Microsoft SQL Server, and this script file retrieves the logging information from the tables in the database.
Ngthrlog.vbs uses the following syntax:
Ngthrlog.vbs /s ServerName /d Database /c CatalogName [{/l LogInID[ /p Password] } | /E][/u URL-filter ]
[/t TransactionType] [/q Timeout] [/f OutputFormat]
[/r] [/n CrawlNumber] [/v] [/o OutputFormat]
You can use the following command-line parameters with Ngthrlog.vbs:
Note To use the Ngthrlog.vbs tool to perform the procedure that this article describes, you must be logged on to SharePoint Portal Server 2003 by using an account that has appropriate permissions to access the SQL Server databases. For example, you must be logged on to SharePoint Portal Server 2003 by using the same account that the CentralAdminAppPool application pool in Microsoft Internet Information Services (IIS) is configured to use.
How to use the Ngthrlog.vbs tool to view gatherer logs
To use the Ngthrlog.vbs tool to view gather log information:
- Copy the Ngthrlog.vbs file to a folder on the server.
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- At the command prompt, change to the directory that contains the Ngthrlog.vbs file.
- Type the following command, and then press ENTER:
cscript //h:cscript
- Type the Ngthrlog.vbs command line that you want to run, and then press ENTER.
Examples
The following list contains examples of Ngthrlog.vbs command lines:
- ngthrlog.vbs /s Server1 /d MySite_SERV /c Portal_Content /E
- ngthrlog.vbs /s Server1 /d MySite_SERV /c Non_Portal_Content /l spsadmin /u Password1 /t add /f csv > NPC.csv
- ngthrlog.vbs /s Server1 /d MySite_SERV /c Portal_Content /E /u "test" /t modify /f html > PC.html
- ngthrlog.vbs /s Server1 /d MySite_SERV /c Portal_Content /E /u "test" /t modify /f html /o
For more information about gatherer logs in SharePoint Portal Server 2003, search for "gatherer log" on the
Search tab of the
Microsoft Office SharePoint Portal Server 2003 Administrator's Guide. The
Microsoft Office SharePoint Portal Server 2003 Administrator's Guide (Administrator's Help.chm) is located in the Docs folder in the root directory of the SharePoint Portal Server 2003 CD-ROM.
For more information about SharePoint Portal Server 2003, visit the following Microsoft Web site: