I hereby claim:
- I am gclitheroe on github.
- I am geoffc (https://keybase.io/geoffc) on keybase.
- I have a public key whose fingerprint is BCC4 3F71 EC8F C6E3 768C 4812 48D3 5E7E EDEF 918E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"github.com/GeoNet/log/logentries" | |
"log" | |
"time" | |
) | |
func init() { | |
logentries.Init("LOGENTRIES_TOKEN") |
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 { |
SPRING_PROFILE=production | |
LOGENTRIES_TOKEN=blah123abc |
... | |
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 |
#! /bin/sh | |
# Source networking configuration. | |
. /etc/sysconfig/network | |
# Source mule specific config. | |
if [ -e /etc/sysconfig/mule ]; then | |
. /etc/sysconfig/mule | |
fi |
# 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 |
<spring:beans profile="production"> | |
<spring:import resource="classpath:mule-logentries-logging.xml"/> | |
</spring:beans> |
<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> |
<http:outbound-endpoint host="localhost" port="${quakevarnish.varnish.port}" method="DELETE"> | |
<property key="X-BanExpression" value="obj.http.X-Url ~ /quakes/*"/> | |
</http:outbound-endpoint> |