Enabling debug log messages

To help troubleshoot agent issues, you can enable debug log messages in the agent framework as well as the agents.

To enable agent framework debug log messages:

# hatype -modify agent_name LogDbg -add DBG_AGDEBUG DBG_AGINFO
DBG_AGTRACE

For example:

# hatype -modify Mount LogDbg -add DBG_AGDEBUG DBG_AGINFO DBG_AGTRACE

To enable agent-specific debug log messages:

# hatype -modify agent_name LogDbg -add debug_log_levels

For example:

# hatype -modify Mount LogDbg -add DBG_1 DBG_2 DBG_3 DBG_4 DBG_5 DBG_6

Alternatively, you can also use the following command:

# hatype -modify Mount LogDbg -add 1 2 3 4 5 6

Agent-specific debug log level information is specified in the agent's description. For example, for information about the Mount agent, See Debug log levels for Mount agent.

For more information about log behavior, refer to the VCS Administrator's Guide.