IServerLog Interface

Provides access to members that query and retrieve log records.

Members

Name Description
Method CreateQuery Creates an IServerLogQuery for interrogating the ArcGIS server logs.
Method GetLogRecords Retrieves ArcGIS Server log records using an IServerLogQuery.

IServerLog.CreateQuery Method

Creates an IServerLogQuery for interrogating the ArcGIS server logs.

Public Function CreateQuery ( _
) As IServerLogQuery
public IServerLogQuery CreateQuery (
);

Remarks

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

IServerLog.GetLogRecords Method

Retrieves ArcGIS Server log records using an IServerLogQuery.

Public Function GetLogRecords ( _
    ByVal pQuery As IServerLogQuery _
) As String
public string GetLogRecords (
    IServerLogQuery pQuery
);

Remarks

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

Classes that implement IServerLog

Classes Description

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close