File tree Expand file tree Collapse file tree
spring-boot-logging-log4j2
java/com/baeldung/graylog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11### Relevant Articles:
22- [ Logging in Spring Boot] ( http://www.baeldung.com/spring-boot-logging )
3+ - [ Logging to Graylog with Spring Boot] ( https://www.baeldung.com/graylog-with-spring-boot )
4+
Original file line number Diff line number Diff line change 3434 <groupId >org.springframework.boot</groupId >
3535 <artifactId >spring-boot-starter-log4j2</artifactId >
3636 </dependency >
37+
38+ <!-- for Graylog demo -->
39+ <dependency >
40+ <!-- forcing spring boot 1.x sing log4j was dropped in spring boot 1.4 and beyond -->
41+ <groupId >org.springframework.boot</groupId >
42+ <artifactId >spring-boot-starter-log4j</artifactId >
43+ <version >1.3.8.RELEASE</version >
44+ </dependency >
45+ <dependency >
46+ <groupId >org.graylog2</groupId >
47+ <artifactId >gelfj</artifactId >
48+ <version >1.1.16</version >
49+ <scope >compile</scope >
50+ </dependency >
3751 </dependencies >
3852
3953 <build >
5670 </build >
5771
5872 <properties >
59-
73+ < start-class >com.baeldung.springbootlogging.SpringBootLoggingApplication</ start-class >
6074 </properties >
6175</project >
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -34,5 +34,4 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring
3434- [ Introduction to Chaos Monkey] ( https://www.baeldung.com/spring-boot-chaos-monkey )
3535- [ Spring Component Scanning] ( https://www.baeldung.com/spring-component-scanning )
3636- [ Load Spring Boot Properties From a JSON File] ( https://www.baeldung.com/spring-boot-json-properties )
37- - [ Display Auto-Configuration Report in Spring Boot] ( https://www.baeldung.com/spring-boot-auto-configuration-report )
38- - [ Logging to Graylog with Spring Boot] ( https://www.baeldung.com/graylog-with-spring-boot )
37+ - [ Display Auto-Configuration Report in Spring Boot] ( https://www.baeldung.com/spring-boot-auto-configuration-report )
Original file line number Diff line number Diff line change 143143 <artifactId >chaos-monkey-spring-boot</artifactId >
144144 <version >${chaos.monkey.version} </version >
145145 </dependency >
146-
147- <!-- for Graylog demo -->
148- <dependency >
149- <!-- forcing spring boot 1.x sing log4j was dropped in spring boot 1.4 and beyond -->
150- <groupId >org.springframework.boot</groupId >
151- <artifactId >spring-boot-starter-log4j</artifactId >
152- <version >1.3.8.RELEASE</version >
153- </dependency >
154- <dependency >
155- <groupId >org.graylog2</groupId >
156- <artifactId >gelfj</artifactId >
157- <version >1.1.16</version >
158- <scope >compile</scope >
159- </dependency >
160146
161147 <dependency >
162148 <groupId >javax.validation</groupId >
229215
230216 <properties >
231217 <!-- The main class to start by executing java -jar -->
232- <start-class >org .baeldung.demo.DemoApplication </start-class >
218+ <start-class >com .baeldung.intro.App </start-class >
233219 <tomee-servlet-api .version>8.5.11</tomee-servlet-api .version>
234220 <togglz .version>2.4.1.Final</togglz .version>
235221 <rome .version>1.9.0</rome .version>
You can’t perform that action at this time.
0 commit comments