Enabling eDirectory Agent diagnostics

eDirectory Agent has built-in diagnostic capabilities, but these are not activated by default. You can enable logging and debugging during installation, or at any other time.

Steps

  1. Use the Windows Services tool or /opt/Websense/WebsenseDaemonControl command to stop eDirectory Agent.
  2. Navigate to the bin directory (C:\Program Files\Websense\Web Security\bin or / opt/Websense/bin/, by default) on the eDirectory Agent machine.
  3. Open the file wsedir.ini in a text editor.
  4. Locate the [eDirAgent] section.
  5. To enable logging and debugging, change the value of DebugMode to On:
    DebugMode=On
  6. To specify the log detail level, modify the following line:
    DebugLevel=<N>

    N can be a value from 0-3, where 3 indicates the most detail.

  7. Modify the LogFile line to specify the name of the log output file:
    LogFile=filename.txt

    By default, log output is sent to the eDirectory Agent console. If you are running the agent in console mode (see Running eDirectory Agent in console mode), you can keep the default value.

  8. Save and close the wsedir.ini file.
  9. Start eDirectory Agent.