# Tracing changes

Previously, AG driver trace messages were displayed by agmon or retrieved using the AGM library API. The debug mask was set using agmon's -x command line option, or using agtrace or the AGM library. The CG driver was not supported.

With NMS OAM, AG and CG driver trace messages are displayed by the oammon monitoring utility or retrieved through the Natural Access queue. The debug mask is set using agtrace.

Trace messages are also logged to agpierror.log. Under Windows, this file can be found in \nms\oam\log. Under UNIX it is stored in /opt/nms/oam/log. This file is formatted in the same way as the agerror.log file generated with agmon. Use dectrace to decode ISDN information from this file, as follows:

dectrace -f \nms\oam\log\agpierror.log > mytrace.txt

A large amount of data is generated in some cases when tracing is enabled. To avoid overloading the system, shut down oammon before setting the tracing flags with agtrace. In this case, you can get the tracing information from agpierr.log as previously described.

Previously, Natural Access dispatcher traces were displayed by ctdaemon. ctdaemon was also used to set the debug mask. With NMS OAM, dispatcher traces are displayed by oammon or retrieved through the Natural Access queue. The debug mask is set using the board keyword DebugMask.

For more information, refer to the board documentation.