Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The output logger event adapter logs the output events emitted from the processing engine.

Configuring output logger event adapter

You can configure the output logger event adapter using the management console or using a configuration file.

Configure using the management console

  1. Log in to the product's management console, and click Configure.
  2. Click Output Event Adaptors in the Event Processor Configs menu, and then click Add Output Event Adaptor.
  3. Enter outputLogAdaptor for Event Adaptor Name, and select logger for Event Adaptor Type as shown in the below example. 


    create output logger event adapter

  4. Click Add Event Adaptor.

Configure using a configuration file

Follow the steps below to configure output logger event adapter using a configuration file.

  1. Create an XML file with the following output logger event adapter configurations. Output event adapter implementation must start with <outputEventAdaptor> as the root element.

    <outputEventAdaptor name="outputLogAdaptor" statistics="disable"
      trace="disable" type="logger" xmlns="http://wso2.org/carbon/eventadaptormanager"/>
  2. Add the XML file to the <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory. Since hot deployment is supported in the product, you can simply add/remove output event adapter configuration files to deploy/undeploy output event adapters to/from the server.

After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI.  Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.

Configuring output logger event adapter message properties

The configured output event adapters are used in event formatters. With output event adapter message properties, event formatters are able to extract data from event streams and format the output events. Following are the output logger event adapter-specific message properties.
output logger event adapter message properties
The message properties of the output logger event adapter are described below.

 

PropertyDescription
Unique IdentificationUnique identification for the log, such as a topic.
Output Event TypeThe outgoing event type to be mapped. The output logger event adapter supports text, XML, and JSON mappings.
  • No labels