How to enable debug for Spectrum's telnet daemon (telnetd)
search cancel

How to enable debug for Spectrum's telnet daemon (telnetd)

book

Article ID: 48281

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

How to enable debug for Spectrum's telnet daemon (telnetd)

Environment

Release: Any
Component:

Resolution

Spectrum telnet daemon has debug settings that can be utilized.

  1. Start SpectroSERVER and ensure that telnetd is running

  2. Navigate to the <SPECROOT>/telnetd directory, and edit the config.xml

  3. Change the debugging from 'off' to 'on'

    <debugging type="java.lang.String">off</debugging>

  4. Wait about one minute (a restart of the telnetd process is not required),

  5. Veiw the <SPECROOT>/TELNETD.OUT to verify the configuration changes

    An entry similar to the following will show in the TELNETD.OUT: (Timer-0) [configChanged] - debug set to true

  6. Start a OneClick client and telnet to a device, then verify that the telnet works as normal

  7. Verify that the debug info is displayed in TELNETD.OUT

  8. Edit config.xml and turn off debugging

  9. Wait about one minute, then verify there is a configuration change message in the TELNETD.OUT

    An entry similar to the following will show in the TELNETD.OUT: (Timer-0) [configChanged] - debug set to false

  10. Start a new telnet session and verify that there are no debug outputs to TELNETD.OUT