Changing the Content of the Port Server Log Files

By default, the port server log files contain information about errors that relate to the port server. You can change the registry settings so that the log files record:

These options are stored as a bit mask in the registry. You can set the log files to record one or more of the above types of information.

To change the registry settings:

  1. Select the Start button on the Windows taskbar.
  2. Select the Run option to display the Run window.

    (On a machine using an operating system such as Windows 7, you will need to select the All Programs option, followed by Accessories, and then select the Run entry.)

  3. Enter:

    Regedit

  4. Select the OK button to run the registry editor.
  5. Expand the keys to locate the PortServer key, and then select it.

    On a 32-bit system:

    HKEY_LOCAL_MACHINE\SOFTWARE\Schneider Electric\ClearSCADA\PortServer

    On a 64-bit system:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Schneider Electric\ClearSCADA\PortServer

  6. Right-click on the LogLevel registry setting for the Port Server to display a context sensitive menu.
  7. Select the Modify option to display the Edit DWORD Value window.
  8. In the Value field, enter the number for the required type(s) of logging.
    • Bit 0 corresponds to Application. For Application logging, enter 1.
    • Bit 1 corresponds to Errors. For Errors logging, enter 2.
    • Bit 2 corresponds to I/O. For I/O logging, enter 4.
    • Bit 3 corresponds to Serial Ports. For Serial Ports logging, enter 8.
    • Bit 4 corresponds to Clients. For Clients logging, enter 16.
    • Bit 5 corresponds to Modems. For Modems logging, enter 32.
    • Bit 6 corresponds to Remote Access. For Remote Access logging, enter 64.
    • Bit 7 corresponds to Protocol Sharing. For Protocol Sharing, enter 128.

    If you want a combination of logging information, enter the total for both numbers. For example, if you want Errors logging, I/O logging and Modems logging, enter 38 (Errors logging is 2, I/O logging is 4 and Modems logging is 32).

    We recommend that you enable Errors logging.

  9. Select the OK button.
  10. Restart the port server service to instigate the changes (see Restart the Port Server Service).

Disclaimer

ClearSCADA 2017 R2