WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
||
Skip to end of metadata
Go to start of metadata

This section explains how to enable debugging logs for event receivers in order to view information about them in the CLI logs.

To enable databridge debug logs, follow the steps given below:

  1. Start the WSO2 DAS server and login to the Management Console. For detailed instructions, see Running the Product.
  2. In the Configure tab, click Logging to open the Logging Configuration page.
  3. In the Filter Loggers by field, enter org.wso2.carbon.databridge.core.internal.queue and click Contains. This fetches the following two loggers.
     
  4. In the Level field, select DEBUG for both the loggers.

As a result of this configuration, the following logs are printed in the CLI.

  • <size of event queue> + " messages in queue before " + <name of the current thread> + " worker has polled queue ".
  • "Dispatching event to " + <number of subscribers> + " subscriber(s) ".
  • <size of event queue> + " messages in queue after " + <name of the current thread> + " worker has finished work ".
  • No labels