Setting a trace

If you need to troubleshoot a specific object in EGO, you can set a trace for it. Setting a trace results in log entries for that object at log level LOG_TRACE.

Before you begin

Log on as root or egoadmin.

Procedure

  1. Run egosh debug daemonon -t -c LOG_CLASS -o "key=value"host. For example:

    egosh debug pemon -t -c LOG_CLASS -o "activity=114" hostA

    Specifying the logging class is optional.

  2. To turn off the trace, run egosh debug daemonoff host -t -c LOG_CLASS -o "key=value". For example:

    egosh debug pemoff -t -c LOG_CLASS -o "activity=114" hostA

    Once you turn off the trace, the log level resets to its default.