log4j fix

This commit is contained in:
2021-12-12 21:22:00 +01:00
parent 1c47e76e9f
commit dd96bb3065
2 changed files with 6 additions and 5 deletions
@@ -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;