This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<spring:beans> | |
<context:property-placeholder order="0" ignore-unresolvable="true" location="mule-heart-beat-producer.properties"/> | |
<context:property-placeholder order="-1" ignore-resource-not-found="true" ignore-unresolvable="true" location="file:/etc/sysconfig/mule-heart-beat-producer.properties"/> | |
<context:property-placeholder order="1" ignore-unresolvable="true" location="build-version.properties"/> | |
</spring:beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<spring:beans profile="production"> | |
<spring:import resource="classpath:mule-logentries-logging.xml"/> | |
</spring:beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default log level | |
log4j.rootCategory=INFO, console, le | |
log4j.appender.le=com.logentries.log4j.LogentriesAppender | |
log4j.appender.le.layout=org.apache.log4j.PatternLayout | |
log4j.appender.le.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss ZZZ} [${host.name}] %-5p: %F:%L %m | |
log4j.appender.le.Token=${logentries.token} | |
log4j.appender.le.Debug=False | |
log4j.appender.le.Ssl=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Source networking configuration. | |
. /etc/sysconfig/network | |
# Source mule specific config. | |
if [ -e /etc/sysconfig/mule ]; then | |
. /etc/sysconfig/mule | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
wrapper.java.additional.4=-Dspring.profiles.active="%SPRING_PROFILE%" | |
wrapper.java.additional.4.stripquotes=TRUE | |
wrapper.java.additional.5=-Dhost.name="%HOSTNAME%" | |
wrapper.java.additional.5.stripquotes=TRUE | |
wrapper.java.additional.6=-Dlogentries.token="%LOGENTRIES_TOKEN%" | |
wrapper.java.additional.6.stripquotes=TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPRING_PROFILE=production | |
LOGENTRIES_TOKEN=blah123abc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ackage main | |
import ( | |
"log" | |
"log/syslog" | |
) | |
func main() { | |
w, err := syslog.Dial("tcp", "api.logentries.com:10000", syslog.LOG_NOTICE, "LE_TOKEN") | |
if err != nil { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/GeoNet/log/logentries" | |
"log" | |
"time" | |
) | |
func init() { | |
logentries.Init("LOGENTRIES_TOKEN") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<jms:activemq-connector name="jmsVmDurable" specification="1.1" | |
brokerURL="${seiscomp.producer.amq.url}" clientId="${mule.serverId}.sc3.producer" | |
durable="true" persistentDelivery="true"> | |
</jms:activemq-connector> | |
<jms:activemq-connector name="jmsVmNonDurable" specification="1.1" | |
brokerURL="${seiscomp.producer.amq.url}" clientId="${mule.serverId}.sc3.producer.nondurable" | |
durable="false" persistentDelivery="false"> | |
</jms:activemq-connector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mule: both applications are deployed | |
... | |
********************************************************************** | |
* - - + APPLICATION + - - * - - + STATUS + - - * | |
********************************************************************** | |
* muletimechatter-1.0-SNAPSHOT * DEPLOYED * | |
* default * DEPLOYED * | |
* seiscompproducer-1.0-SNAPSHOT * DEPLOYED * | |
********************************************************************** |
OlderNewer