Type
Metadata Access.
Behaviour
It reads the last lines from the server log or from a specific container log. This operator requires administrator privileges.
Parameters
System parameters
Examples
Read the last 10 lines of the log file related to the container with id 3:
[OPH_TERM] >> oph_log_info log_type=container;container_id=3;nlines=10;
| Argument name | Type | Mandatory | Values | Default | Min/Max-value |
|---|---|---|---|---|---|
| log_type | “string” | “no” | “server|container|ioserver” | “server” | |
| container_id | “int” | “no” | “0” | “0” / | |
| ioserver | “string” | “no” | “mysql|ophidiaio” | “mysql” | |
| nlines | “int” | “no” | “10” | “1” / “10000” | |
| exec_mode | “string” | “no” | “async|sync” | “sync” | |
| sessionid | “string” | “no” | “null” | ||
| ncores | “int” | “no” | “1” | “1” / “1” | |
| objkey_filter | “string” | “no” | “all|none|log_info” | “all” |