doclog.exe reference

 

Applies to: FAST Search Server 2010

Use the doclog tool to retrieve the status and the logs of recently processed items (documents).

By default, the logs from all item processor servers that are registered with the configuration component are aggregated.

Note

An identifier can be processed on different item processor servers, and logs from previous runs can still be present in the system. To show the most recent log entry for each identifier, use the -a command option.

Note

To use a command-line tool, verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

Syntax

<FASTSearchFolder>\bin\doclog [options] <command> [ID ...]

Parameters

Parameter Description

[ID …]

A list of one or more item identifiers separated by a space

<FASTSearchFolder>

The path of the folder where you have installed FAST Search Server 2010 for SharePoint, for example C:\FASTSearch.

doclog options

Option Value Description

-C

<host:port>

Specifies the host name and port number of the configuration component.

The default values are loaded from <FASTSearchFolder>\etc\CSLocation.xml.

-P

<host:port>

Specifies the host name and port number to poll one specific item processor server.

doclog commands

Command Description

-a

Shows all available item logs with the most recent log entry per identifier.

-b

Shows all available batch logs.

-e

Shows all item logs that contain errors.

-h

Displays help.

-l

Lists identifiers per server. Only identifiers with log entries are listed.

An identifier can appear on several servers.

-v

Shows version information.

-w

Shows all item logs that contain warnings.

Examples

To list all item identifiers per server:

<FASTSearchFolder>\bin\doclog -l

To retrieve the log entries for one specific document:

<FASTSearchFolder>\bin\doclog documentID_1