diff --git a/backend/src/main/java/com/festago/common/handler/GlobalExceptionHandler.java b/backend/src/main/java/com/festago/common/handler/GlobalExceptionHandler.java
index 0d314d4d3..fd2f1dcf3 100644
--- a/backend/src/main/java/com/festago/common/handler/GlobalExceptionHandler.java
+++ b/backend/src/main/java/com/festago/common/handler/GlobalExceptionHandler.java
@@ -15,8 +15,7 @@
import com.festago.common.exception.dto.ValidErrorResponse;
import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.HttpStatusCode;
@@ -28,11 +27,11 @@
import org.springframework.web.context.request.WebRequest;
import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
+@Slf4j
@RestControllerAdvice
@RequiredArgsConstructor
public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
- private static final Logger log = LoggerFactory.getLogger("ErrorLogger");
private static final String LOG_FORMAT_INFO = "\n[🔵INFO] - ({} {})\n(id: {}, role: {})\n{}\n {}: {}";
private static final String LOG_FORMAT_WARN = "\n[🟠WARN] - ({} {})\n(id: {}, role: {})";
private static final String LOG_FORMAT_ERROR = "\n[🔴ERROR] - ({} {})\n(id: {}, role: {})";
diff --git a/backend/src/main/resources/logback-spring.xml b/backend/src/main/resources/logback-spring.xml
index 8454df8e3..53ddd6128 100644
--- a/backend/src/main/resources/logback-spring.xml
+++ b/backend/src/main/resources/logback-spring.xml
@@ -13,40 +13,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/backend/src/main/resources/logs/error/file-error-appender.xml b/backend/src/main/resources/logs/error/file-error-appender.xml
deleted file mode 100644
index 46d2a750d..000000000
--- a/backend/src/main/resources/logs/error/file-error-appender.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- ${FILE_LOG_PATTERN}
-
-
- ERROR
- ACCEPT
- DENY
-
-
- ${LOG_PATH}/log/error/error/error-%d{yyyy-MM-dd}.%i.log
-
- 100MB
- 100
- 4GB
-
-
-
diff --git a/backend/src/main/resources/logs/error/file-info-appender.xml b/backend/src/main/resources/logs/error/file-info-appender.xml
deleted file mode 100644
index 1906a418a..000000000
--- a/backend/src/main/resources/logs/error/file-info-appender.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- ${FILE_LOG_PATTERN}
-
-
- INFO
- ACCEPT
- DENY
-
-
- ${LOG_PATH}/log/error/info/info-%d{yyyy-MM-dd}.%i.log
-
- 100MB
- 100
- 4GB
-
-
-
diff --git a/backend/src/main/resources/logs/error/file-warn-appender.xml b/backend/src/main/resources/logs/error/file-warn-appender.xml
deleted file mode 100644
index 22219a680..000000000
--- a/backend/src/main/resources/logs/error/file-warn-appender.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- ${FILE_LOG_PATTERN}
-
-
- WARN
- ACCEPT
- DENY
-
-
- ${LOG_PATH}/log/error/warn/warn-%d{yyyy-MM-dd}.%i.log
-
- 100MB
- 100
- 4GB
-
-
-
diff --git a/backend/src/main/resources/logs/common/file-error-appender.xml b/backend/src/main/resources/logs/file-error-appender.xml
similarity index 84%
rename from backend/src/main/resources/logs/common/file-error-appender.xml
rename to backend/src/main/resources/logs/file-error-appender.xml
index bcd0d7fa0..dd85c4e72 100644
--- a/backend/src/main/resources/logs/common/file-error-appender.xml
+++ b/backend/src/main/resources/logs/file-error-appender.xml
@@ -9,8 +9,7 @@
DENY
- ${LOG_PATH}/log/common/error/error-%d{yyyy-MM-dd}.%i.log
-
+ ${LOG_PATH}/log/error/error-%d{yyyy-MM-dd}.%i.log
100MB
30
3GB
diff --git a/backend/src/main/resources/logs/common/file-info-appender.xml b/backend/src/main/resources/logs/file-info-appender.xml
similarity index 85%
rename from backend/src/main/resources/logs/common/file-info-appender.xml
rename to backend/src/main/resources/logs/file-info-appender.xml
index 70af97f1b..9dece89e9 100644
--- a/backend/src/main/resources/logs/common/file-info-appender.xml
+++ b/backend/src/main/resources/logs/file-info-appender.xml
@@ -9,8 +9,7 @@
DENY
- ${LOG_PATH}/log/common/info/info-%d{yyyy-MM-dd}.%i.log
-
+ ${LOG_PATH}/log/info/info-%d{yyyy-MM-dd}.%i.log
100MB
30
3GB
diff --git a/backend/src/main/resources/logs/common/file-warn-appender.xml b/backend/src/main/resources/logs/file-warn-appender.xml
similarity index 85%
rename from backend/src/main/resources/logs/common/file-warn-appender.xml
rename to backend/src/main/resources/logs/file-warn-appender.xml
index 8cb630d3f..776c847a6 100644
--- a/backend/src/main/resources/logs/common/file-warn-appender.xml
+++ b/backend/src/main/resources/logs/file-warn-appender.xml
@@ -9,8 +9,7 @@
DENY
- ${LOG_PATH}/log/common/warn/warn-%d{yyyy-MM-dd}.%i.log
-
+ ${LOG_PATH}/log/warn/warn-%d{yyyy-MM-dd}.%i.log
100MB
30
3GB