move graylog ex

This commit is contained in:
Loredana 2018-10-26 23:25:49 +03:00
parent dd0eefed99
commit 4c3a0d7f1f
6 changed files with 19 additions and 18 deletions

View File

@ -1,2 +1,4 @@
### Relevant Articles:
- [Logging in Spring Boot](http://www.baeldung.com/spring-boot-logging)
- [Logging to Graylog with Spring Boot](https://www.baeldung.com/graylog-with-spring-boot)

View File

@ -34,6 +34,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<!-- for Graylog demo -->
<dependency>
<!-- forcing spring boot 1.x sing log4j was dropped in spring boot 1.4 and beyond -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j</artifactId>
<version>1.3.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.graylog2</groupId>
<artifactId>gelfj</artifactId>
<version>1.1.16</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
@ -56,6 +70,6 @@
</build>
<properties>
<start-class>com.baeldung.springbootlogging.SpringBootLoggingApplication</start-class>
</properties>
</project>

View File

@ -34,5 +34,4 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring
- [Introduction to Chaos Monkey](https://www.baeldung.com/spring-boot-chaos-monkey)
- [Spring Component Scanning](https://www.baeldung.com/spring-component-scanning)
- [Load Spring Boot Properties From a JSON File](https://www.baeldung.com/spring-boot-json-properties)
- [Display Auto-Configuration Report in Spring Boot](https://www.baeldung.com/spring-boot-auto-configuration-report)
- [Logging to Graylog with Spring Boot](https://www.baeldung.com/graylog-with-spring-boot)
- [Display Auto-Configuration Report in Spring Boot](https://www.baeldung.com/spring-boot-auto-configuration-report)

View File

@ -143,20 +143,6 @@
<artifactId>chaos-monkey-spring-boot</artifactId>
<version>${chaos.monkey.version}</version>
</dependency>
<!-- for Graylog demo -->
<dependency>
<!-- forcing spring boot 1.x sing log4j was dropped in spring boot 1.4 and beyond -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j</artifactId>
<version>1.3.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.graylog2</groupId>
<artifactId>gelfj</artifactId>
<version>1.1.16</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
@ -229,7 +215,7 @@
<properties>
<!-- The main class to start by executing java -jar -->
<start-class>org.baeldung.demo.DemoApplication</start-class>
<start-class>com.baeldung.intro.App</start-class>
<tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
<togglz.version>2.4.1.Final</togglz.version>
<rome.version>1.9.0</rome.version>