log4j fix
This commit is contained in:
parent
1c47e76e9f
commit
dd96bb3065
3
pom.xml
3
pom.xml
@ -10,7 +10,8 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>11</java.version>
|
||||
<revision>1.3.1</revision>
|
||||
<log4j2.version>2.15.0</log4j2.version>
|
||||
<revision>1.3.2</revision>
|
||||
</properties>
|
||||
|
||||
<parent>
|
||||
|
@ -8,8 +8,8 @@ import java.time.temporal.ChronoUnit;
|
||||
|
||||
import org.apache.commons.lang3.RandomStringUtils;
|
||||
import org.apache.commons.lang3.RandomUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
@ -38,8 +38,8 @@ import de.bstly.board.repository.VoteRepository;
|
||||
@RestController
|
||||
@RequestMapping("/debug")
|
||||
public class DebugController extends BaseController {
|
||||
|
||||
private Logger logger = LogManager.getLogger(DebugController.class);
|
||||
|
||||
private Logger logger = LoggerFactory.getLogger(DebugController.class);
|
||||
|
||||
@Autowired
|
||||
private PasswordEncoder passwordEncoder;
|
||||
|
Loading…
Reference in New Issue
Block a user