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. Access and Run a Registry Editor.
  2. Using the Registry Editor, 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

  3. Right-click on the LogLevel registry setting for the Port Server to display a context-sensitive menu.
  4. Select the Modify option to display the Edit DWORD Value window.
  5. 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.

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

Disclaimer

Geo SCADA Expert 2019