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