Novell Home

Getting DirXML to Display Trace Messages

Novell Cool Solutions: Feature

Digg This - Slashdot This

Posted: 23 Oct 2001
 

Having DirXML display trace or error messages can be incredibly helpful if you're trying to troubleshoot or run quality assurance tests on your system. There are actually a number of ways to get DirXML to display trace messages on NetWare.

DSTRACE.NLM

DSTRACE.NLM can be used to display trace messages on the system console. Also trace messages can be logged to a file (DSTRACE.LOG) using DSTRACE.NLM. DSTRACE.NLM displays messages to a screen labeled DSTrace Console. Any system console screen label can be seen on the top of the file server screen when holding down the system console's ALT key. After loading DSTRACE.NLM, type DSTRACE to see the current settings of the NLM. An easy way to configure dstrace.nlm to display only DirXML trace messages is: DSTRACE -ALL +DXML +DVRS. If you would also like to display message tags and time stamps use the following: DSTRACE -ALL +DXML +DVRS +TAGS +TIME.

DS.NLM

Another method of displaying trace messages is to use the internal DS.NLM. This internal trace method can be displayed on the system console screen by entering the following set command at the system console: set dstrace=on. Once the internal dstrace is turned on, a system console screen labeled Directory Services is available for view. Any system console screen label can be seen on the top of the screen when holding down the ALT key. To turn on DirXML trace messages for this trace screen enter: set dstrace=+DXML. To turn off DirXML trace messages for this trace screen enter: set dstrace=-DXML. To turn on DirXML driver trace messages for this trace screen enter: set dstrace=+DVRS. To turn off DirXML driver trace messages for this trace screen enter: set dstrace=-DVRS. To turn off the internal trace screen enter: set dstrace=off.

NDSiMon

Another method of displaying trace messages is to use the NDSiMon utility. NDSiMon is a web management tool that can be used to view DSTrace messages from any web browser. These web services are integrated with NetWare management portal services, and can be found under the NDS Management DS Trace bullet.

DirXML.nlm

DirXML.nlm also builds an error log: SYS:\SYSTEM\DIRXML.LOG. Only DirXML errors are stored in this file. This file will not grow larger that 500K.

DriverSets

Each DriverSet can have a JavaTraceFile specified. To create (or modify) a DirXML-JavaTraceFile configuration from ConsoleOne, select a particular DriverSet object with your mouse, right click, select Properties, from the properties DialogBox select the Other tab, Add a new attribute (or modify the existing one) called DirXML-JavaTraceFile and enter the value of the log file name to be used (i.e. SYS:\SYSTEM\DRVSET1.LOG).

The amount of DirXML driver information that is traced can be controlled by a DriverSet attribute. To create (or modify) a DirXML-DriverTraceLevel configuration from ConsoleOne, select a particular DriverSet object with your mouse, right click, select Properties, from the properties DialogBox select the Other tab, Add a new attribute (or modify the existing one) called DirXML-DriverTraceLevel and enter the value of 0,1,2,or 3, to control the verbosity. 0=min, 1=low, 2=medium, 3=max.

For more information on displaying DirXML trace messages, see TID-10065332


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell