Skip to main content

i4scada Knowledge Base

Enabling i4scada Communication Server (WCS) logging

Abstract

Check out this tutorial to learn how to enable the logging for i4scada WCS Communication Server without any further help.

In order to enable the logging for the i4scada Communication Server (WCS) to following steps should be processed:

  1. Open the i4scada Activity Analyzer tool.

  2. Click the Options toolbar button.

    Activity_Analyzer_Options_button.jpg
  3. The Options window is opened.

  4. Switch to the File writer tab and process the following settings:

    File_writer_tab.jpg
    1. Mark the check-box for the Enable file writer option.

    2. Set the desired value for the Max. trace log files option.

    3. Set the desired value for the Max. size (in bytes) of all trace log files option.

    4. Select the desired Trace logs path.

      Tip

      To create a new folder click on the three dots button, select the desired parent folder, and click the Make New Folder button.

      Make_new_folder.jpg
  5. Lower in the Options window, click on the New filter button, in the Advanced filter area.

    New_filter.jpg
  6. Fill in the following information for the new filter:

    new_filter_view.jpg
    1. Manually type in the Channel ID column, the value WCS*.

      Tip

      The wildcard * in the Message topic means that all the messages will be logged.

    2. The wildcard * value in the Message topic column allows the system to filter by all message topics.

    3. Select the desired Message level by clicking the three dots button. The options provided in this view can be combined as desired.

      Message_level.jpg
  7. As soon as the filter has been set up, click the Save button.

    Save_new_filter.jpg
  8. Select a place for the XML configuration file, for your new filter.

  9. After all the Activity Analyzer settings are done, click the OK button to close the Options window.

  10. Next, go to the Windows Start menu and type "regedit".

    Regedit_tool.jpg
  11. Open the Registry Editor tool and navigate to HKEY_LOCAL_MACHINE / SOFTWARE / Wow6432Node / WEBfactory / WCS. Under WCS a key named 1.0 should be available. If it doesn't exist, create it.

    WCS_folder.jpg
  12. The 1.0 key should contain a Default folder, a Message Level Mask folder, and a Web Client Timeout folder. Open the Message Level Mask folder by double-clicking it.

  13. A new window is opened. In this window make sure to fill in the Value data for the Level mask to correspond to the setting done at step 6 c).

    MesageLevelsMask.jpg
  14. Click OK to preserve the changes and you can now close the Registry Editor tool.

  15. As we are now set up and ready for the WCS logging, please make sure to stop the i4scada Server, using the Service Manager tool and all the other running i4scada services, using the Task Manager application.

    Stop_services.jpg
  16. Now restart the i4scada Server, using the i4scada Service Manager and all the other i4scada Services.

    Tip

    Please note that the WFRemoteController service should be started prior to the i4scada Service Manager application. Otherwise, the Service Manager will show errors.

    RemoteController_stopped.jpg
  17. The WCS log files will be created.

    WCS_Log_file.jpg