Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ openServerLog()

FileIterator * openServerLog ( string id,
string path,
int count ) throws FileNotAvailableException, ServerNotExistException, NodeUnreachableException, DeploymentException

Opens a server log file for reading.

Parameters
idThe server ID.
pathThe path of the log file. A log file can be opened only if it's declared in the server or service deployment descriptor.
countSpecifies where to start reading the file. If negative, the file is read from the beginning. Otherwise, the file is read from the last count lines.
Returns
An iterator to read the file. This proxy is never null.
Exceptions
FileNotAvailableExceptionThrown when the file can't be read.
ServerNotExistExceptionThrown when the server doesn't exist.
NodeUnreachableExceptionThrown when the node is unreachable.
DeploymentExceptionThrown when the server couldn't be deployed on the node.