| Namespace | http://www.mulesoft.org/schema/mule/loggly |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/loggly/current/mule-loggly.xsd (View Schema) |
| Schema Version | 1.0 |
| Minimum Mule Version | 3.2 |
Loggly Async Logger
This Module handles logging of messages. The policy that is used is asynchronous, this means that each message to log is stored in a Circular Queue of a fixed size. Once the maximum size of the queue is reached the first element will be discarded and replaced with the new logged message.| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Logs a message into a previously configured Loggly account.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:loggly="http://www.mulesoft.org/schema/mule/loggly"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/loggly
http://www.mulesoft.org/schema/mule/loggly/current/mule-loggly.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| Input Key to access the log-sending API. | |||||||||||
Logs a message into a previously configured Loggly account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Message to log | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| Exception | error while doing the request and receiving the response |