B.2 Enabling Debug Logging

Debug logging uses two switches, SmsDebug and SmsDebug2, to control the amount of logging. SmsDebug is used to log information about a particular feature, and SmsDebug2 is used to control the level of debug messages required. Although the details of all possible values for these switches are beyond the scope of this document, it is important to note that both these switches must be supplied in the command line to enable debug logging. Novell support might request additional debug logs to be generated for specific features based on the complexity of the problem.

Use the following options to enable or disable debug logs:

B.2.1 SMDR

Enabling Debug Logging

  1. Kill the SMDR process

    pkill smdrd

  2. Enable debug and restart SMDR

    /opt/novell/sms/bin/smdrd --smsdebug fffffffc --smsdebug2 fffffffc

  3. Perform the tests to reproduce the problem.

  4. The error messages will be logged in the debug log file.

Disabling Debug Logging

pkill smdrd

B.2.2 TSAFS

Enabling Debug Logging

smsconfig -l tsafs --smsDebug=fffffffc --smsDebug2=fffffffc

Disabling Debug Logging

    • Unload TSA

      smsconfig -u tsafs

    • Reload TSA

      smsconfig -l tsafs