Change EGO log levels

Log on as root or egoadmin.

If you need to troubleshoot or debug your system, you need to change log levels from the default LOG_WARNING to a log level that gives more details (we suggest LOG_DEBUG). You can also enable or disable logging completely.

Separate log levels are set for each daemon. To change the log level for an entire cluster, you must set each daemon individually.

Logging level settings are not permanent and do not change ego.conf. When the cluster shuts down or restarts, logging level settings do not persist. Instead, log levels reset to LOG_WARNING.

Refer to the egosh command for details on all the command options.

Note:

If you are setting the log level for VEMKD and this daemon fails over, the permanent setting in ego.conf (Warning level) becomes the current setting. To change it, follow these steps once more.

  1. To enable the more detailed log level LOG_DEBUG, run egosh debug daemon on.

    For example, egosh debug vemkdon.

    You can also specify a log class using the -c option if you want to receive entries solely concerning one log class (like authentication or memory). Refer to the egosh command for details on using this option.

    You have enabled log level LOG_DEBUG for vemkd. All entries are logged in vemkd.log.hostname.

  2. To return the log level to the default LOG_WARNING, run egosh debug daemonoff.

    For example, egosh debug vemkdoff.

    You have returned your log level to LOG_WARNING (the default) for vemkd. All entries are logged in vemkd.log.hostname.

You should debug your system as quickly as possible and set your log level to warning for daily activity.
CAUTION:

The LOG_DEBUG logging level is very verbose and fills up your log files quickly, which can adversely affect performance.