mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-30 16:13:55 +00:00
Trying spring boot log4j dependencies
This commit is contained in:
parent
14d9e8897f
commit
f92a233078
@ -22,6 +22,7 @@ configurations {
|
|||||||
compileOnly {
|
compileOnly {
|
||||||
extendsFrom annotationProcessor
|
extendsFrom annotationProcessor
|
||||||
}
|
}
|
||||||
|
all*.exclude module: 'spring-boot-starter-logging'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -42,6 +43,8 @@ dependencies {
|
|||||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||||
|
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
|
||||||
|
implementation 'org.apache.logging.log4j:log4j-spring-boot'
|
||||||
implementation 'org.projectlombok:lombok'
|
implementation 'org.projectlombok:lombok'
|
||||||
implementation 'commons-fileupload:commons-fileupload:1.5'
|
implementation 'commons-fileupload:commons-fileupload:1.5'
|
||||||
implementation 'org.junit.jupiter:junit-jupiter:5.4.2'
|
implementation 'org.junit.jupiter:junit-jupiter:5.4.2'
|
||||||
|
@ -16,9 +16,9 @@ import java.util.Collections;
|
|||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
//@EnableAutoConfiguration
|
//@EnableAutoConfiguration
|
||||||
//@Log4j2
|
@Log4j2
|
||||||
public class HIRSApplication {//extends SpringBootServletInitializer {
|
public class HIRSApplication {//extends SpringBootServletInitializer {
|
||||||
|
// private static final Logger LOGGER = LogManager.getLogger(HIRSApplication.class);
|
||||||
// @Override
|
// @Override
|
||||||
// protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
// protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
||||||
// return application.sources(HIRSApplication.class);
|
// return application.sources(HIRSApplication.class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user