Browse files

getting ready for sonatype oss release

  • Loading branch information...
1 parent e14c7b6 commit 9c88bb5eddf45f2d0fd68b6e2be6de5a376ef1aa Anthony Marcar committed Jun 12, 2012
Showing with 13 additions and 6 deletions.
  1. +2 −1 .gitignore
  2. +9 −3 pom.xml
  3. +2 −2 src/test/resources/logback.groovy
View
3 .gitignore
@@ -3,4 +3,5 @@ target
*.ipr
*.iws.idea
.idea/
-*~
+*~
+release.properties
View
12 pom.xml
@@ -6,9 +6,15 @@
<groupId>me.moocar</groupId>
<artifactId>logback-gelf</artifactId>
<packaging>jar</packaging>
- <version>0.9.6</version>
+ <version>0.9.6-SNAPSHOT</version>
<name>logback-gelf</name>
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>7</version>
+ </parent>
+
<description>GELF Appender for logback. Use this appender to log messages to a graylog2 server via GELF messages.</description>
@@ -26,8 +32,8 @@
<scm>
<connection>scm:git:git@github.com:Moocar/logback-gelf.git</connection>
- <developerConnection>scm:git:git://github.com/Moocar/logback-gelf.git</developerConnection>
- <url>https://github.com/Moocar/logback-gelf</url>
+ <developerConnection>scm:git:git@github.com:Moocar/logback-gelf.git</developerConnection>
+ <url>git@github.com:Moocar/logback-gelf.git</url>
</scm>
<developers>
View
4 src/test/resources/logback.groovy
@@ -4,12 +4,12 @@ import static ch.qos.logback.classic.Level.DEBUG
appender("GELF", GelfAppender) {
facility = "logback-gelf-test"
- graylog2ServerHost = "localhost"
+ graylog2ServerHost = "adm-grbl00.sv.walmartlabs.com"
graylog2ServerPort = 12201
useLoggerName = true
graylog2ServerVersion = "0.9.6"
chunkThreshold = 1000
- additionalFields = [ipAddress:"_ip_address", requestId:"_request_id"]
+ additionalFields = [ipAddress:"_ip_address", requestId:"_request_id", contextName:"_context_name"]
}
root(DEBUG, ["GELF"])

0 comments on commit 9c88bb5

Please sign in to comment.