#Loggly Cloud Connector
Logs messages into loggly without blocking the mule app. All the messages are saved in a circular queue before being sent to Loggly. A different thread consumes the messages stored in it.
Docs can be found here.
The main reason is the ability to save the logs in the cloud. Loggly is a specialized service that supports filtering and searching through logs.
The older message is discarded and replaced with a new one. By no means we are ensuring that everything that you log using this component will be persisted into loggly. The policy is best-effort and no-blocking above all.
Yes, but please take into account the following considerations:
- Ring buffer may easily overflow under load, so you will be losing messages as soon as that happens (after ´ring_buffer_size´ messages that were queued but not unqueued)
- If loggly service cannot be reached, the message will be discarded
- if loggly returns 503 (throttled), the message will be discarded
Yes, please! Add a pull request and we can go over it.
Add the following requirement to your pom.xml:
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-loggly</artifactId>
<version>1.2.1</version>
</dependency>The following snippet shows how to use it inside a flow:
...
<loggly:config inputKey="${inputKey}" />
...
<flow name="testFlow">
<loggly:logger message="This a test."/>
</flow>That will log "This is a test." each time the flow testFlow is executed.
Copyright 2012 MuleSoft, Inc.
Licensed under the Common Public Attribution License (CPAL), Version 1.0.