# EsbLogSize

Description

EsbLogSize() returns the size of the Agent log file (`ESSBASE.LOG`), or of the Server log file (`APPNAME.LOG`).

Syntax

    Declare Function EsbLogSize Lib "esbapin" (
    ByVal hCtx As Long,
    ByVal isAgentLog As Integer,
    ByVal AppName As String,
          pulLogSize As Long) As Long

Parameters

hCtx | Essbase API context handle.
isAgentLog | If TRUE, the size of the Agent log file (`ESSBASE.LOG`) is returned. If FALSE, the size of the Server log file (`APPNAME.LOG`) is returned.
AppName | Application name.
pulLogSize | Size of log file returned.

Return Value

Returns a zero if successful.

Notes

- The Agent log file (`ESSBASE.LOG`) and the Server log file (`APPNAME.LOG`) are located on the server in the ARBORPATH directory. Use EsbGetLogFile() to view message logs.

Access

This function does not require the caller to have access privileges.

Example

See Also