Opens a server log file for reading.
- Parameters
-
| id | The server ID. |
| path | The path of the log file. A log file can be opened only if it's declared in the server or service deployment descriptor. |
| count | Specifies 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. |
| response | The response callback. It accepts:
- An iterator to read the file. This proxy is never null.
|
| exception | The exception callback. |
| sent | The sent callback. |
| context | The request context. |
- Returns
- A function that can be called to cancel the invocation locally.