| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
					
						
							|  |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <artifactId>spring-boot-logging-log4j2</artifactId> | 
					
						
							| 
									
										
										
										
											2018-11-30 22:16:08 +05:30
										 |  |  | 	<name>spring-boot-logging-log4j2</name> | 
					
						
							| 
									
										
										
										
											2019-02-10 01:47:19 +05:30
										 |  |  |     <packaging>jar</packaging> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |     <description>Demo project for Spring Boot Logging with Log4J2</description> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  | 	<!-- this needs to use the boot parent directly in order to not inherit logback dependencies --> | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     <parent> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |         <artifactId>spring-boot-starter-parent</artifactId> | 
					
						
							|  |  |  |         <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |         <version>2.0.5.RELEASE</version> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-web</artifactId> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |             <exclusions> | 
					
						
							|  |  |  |                 <exclusion> | 
					
						
							|  |  |  |                     <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                     <artifactId>spring-boot-starter-logging</artifactId> | 
					
						
							|  |  |  |                 </exclusion> | 
					
						
							|  |  |  |             </exclusions> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-test</artifactId> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-log4j2</artifactId> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-10-26 23:25:49 +03:00
										 |  |  |          | 
					
						
							|  |  |  |         <!-- 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> | 
					
						
							| 
									
										
										
										
											2019-02-04 00:06:11 +05:30
										 |  |  |             <version>${spring-boot-starter-log4j.version}</version> | 
					
						
							| 
									
										
										
										
											2018-10-26 23:25:49 +03:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.graylog2</groupId> | 
					
						
							|  |  |  |             <artifactId>gelfj</artifactId> | 
					
						
							| 
									
										
										
										
											2019-02-04 00:06:11 +05:30
										 |  |  |             <version>${gelfj.version}</version> | 
					
						
							| 
									
										
										
										
											2018-10-26 23:25:49 +03:00
										 |  |  |             <scope>compile</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     </dependencies> | 
					
						
							| 
									
										
										
										
											2018-09-05 00:18:03 -03:00
										 |  |  |      | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     <build> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  | 		<plugins> | 
					
						
							|  |  |  | 			<plugin> | 
					
						
							|  |  |  | 				<groupId>org.apache.maven.plugins</groupId> | 
					
						
							|  |  |  | 				<artifactId>maven-surefire-plugin</artifactId> | 
					
						
							|  |  |  | 				<configuration> | 
					
						
							|  |  |  | 					<forkCount>3</forkCount> | 
					
						
							|  |  |  | 					<reuseForks>true</reuseForks> | 
					
						
							|  |  |  | 					<excludes> | 
					
						
							|  |  |  | 						<exclude>**/*IntegrationTest.java</exclude> | 
					
						
							|  |  |  | 						<exclude>**/*IntTest.java</exclude> | 
					
						
							|  |  |  | 						<exclude>**/*ManualTest.java</exclude> | 
					
						
							|  |  |  | 						<exclude>**/*LiveTest.java</exclude> | 
					
						
							|  |  |  | 					</excludes> | 
					
						
							|  |  |  | 				</configuration> | 
					
						
							|  |  |  | 			</plugin> | 
					
						
							|  |  |  |     	</plugins> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  |     </build> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |      | 
					
						
							|  |  |  |     <properties> | 
					
						
							| 
									
										
										
										
											2018-10-26 23:25:49 +03:00
										 |  |  |         <start-class>com.baeldung.springbootlogging.SpringBootLoggingApplication</start-class> | 
					
						
							| 
									
										
										
										
											2019-02-04 00:06:11 +05:30
										 |  |  | 		<spring-boot-starter-log4j.version>1.3.8.RELEASE</spring-boot-starter-log4j.version> | 
					
						
							|  |  |  | 		<gelfj.version>1.1.16</gelfj.version> | 
					
						
							| 
									
										
										
										
											2018-10-14 23:40:39 +03:00
										 |  |  |     </properties> | 
					
						
							| 
									
										
										
										
											2018-06-30 04:43:22 +02:00
										 |  |  | </project> |