Configure Logging

You can customized logging of a service. By default, logging is configured with its default parameters and no logging types are excluded. Any log entry exceeding set limits will be lost.

About this task

Follow this procedure to configure a customized logging.

Procedure

To configure the logging of a service to a customized state, run the efa system logging set command with appropriate parameters.
efa system logging set --service inventory --size 200 --level info
+-----------+------+------+---------------+-------+---------+--------+
|  Service  | Type | Size | Maximum Files | Level | Status  | Reason |
+-----------+------+------+---------------+-------+---------+--------+
| inventory | all  | 200  |               | info  | Success |        |
+-----------+------+------+---------------+-------+---------+--------+
Logging set

efa system logging set --service inventory,fabric --type error --maximum-files 20 
+-----------+-------+------+---------------+-------+---------+--------+
|  Service  | Type  | Size | Maximum Files | Level | Status  | Reason |
+-----------+-------+------+---------------+-------+---------+--------+
| inventory | error |      |      20       |       | Success |        |
+-----------+-------+------+---------------+-------+---------+--------+
|  fabric   | error |      |      20       |       | Success |        |
+-----------+-------+------+---------------+-------+---------+--------+
Logging set

efa system logging set --service inventory --type error --level fatal
+-----------+-------+------+---------------+-------+---------+--------+
|  Service  | Type  | Size | Maximum Files | Level | Status  | Reason |
+-----------+-------+------+---------------+-------+---------+--------+
| inventory | error |      |               | fatal | Success |        |
+-----------+-------+------+---------------+-------+---------+--------+
Logging set
Note

Note

For information about commands and supported parameters to configure logging, see ExtremeCloud Orchestrator Command Reference, 3.2.1