Interface IServerLog

Namespace
ESRI.ArcGIS.Server
Assembly
ESRI.Server.Server.dll

Provides access to members that query and retrieve log records.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("44DC928C-0350-4BDB-9970-4D5CA68B4117")]
public interface IServerLog

Remarks

The IServerLog interface is used to query and retrieve records from the logs on disk. A reference to this interface is acquired through the ServerLog property of the IServerObjectAdmin2 interface.

 

The IServerLog interface has two methods.  The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method which returns a string containing the logs matching the query parameters.

Methods

CreateQuery()

Creates an IServerLogQuery for interrogating the ArcGIS server logs.

IServerLogQuery CreateQuery()

Returns

IServerLogQuery

Remarks

The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method.

GetLogRecords(IServerLogQuery)

Retrieves ArcGIS Server log records using an IServerLogQuery.

string GetLogRecords(IServerLogQuery pQuery)

Parameters

pQuery IServerLogQuery

Returns

string

Remarks

The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.