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:
- Application—General information about the port server including which port is used by the Telnet server and a record of when the port server is shutdown
- Errors—Errors that relate to the port server
- I/O—Information about the data transfer (input and output via the ports)
- Serial Ports—Information about the ports (when they are assigning, being de-assigned, and so on)
- Clients—Information about the drivers that are using the ports
- Modems—Information relating to modem sharing
- Remote Access—Information about remote access services connections (RAS)
- Protocol Sharing—Information about the any port sharing.
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:
- Access and Run a Registry Editor.
- 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
- Right-click on the LogLevel registry setting for the Port Server to display a context-sensitive menu.
- Select the Modify option to display the Edit DWORD Value window.
- 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.
- Select the OK button.
- Restart the port server service to instigate the changes (see Restart the Port Server Service).