Skip to content

Commit

Permalink
chore :: logback 지정과 절대경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Feb 28, 2024
1 parent c7f8ba9 commit 6d679b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ out/

/src/main/resources/*.yml

.env
.env

/logs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- log 기록 절대 위치 설정 -->
<property name="LOGS_ABSOLUTE_PATH" value="/home/ubuntu/logs" />
<property name="LOGS_ABSOLUTE_PATH" value="./logs" />

<property name="CONSOLE_LOG_PATTERN"
value="[%d{yyyy-MM-dd HH:mm:ss}:%-3relative] %clr(%-5level) %clr(${PID:-}){magenta} %clr(---){faint} %clr([%15.15thread]){faint} %clr(%-40.40logger{36}){cyan} %clr(:){faint} %msg%n"/>
value="[%d{yyyy-MM-dd HH:mm:ss}:%-3relative] %highlight(%-5level) %highlight(${PID:-}){magenta} %highlight(---){faint} %highlight([%15.15thread]){faint} %highlight(%-40.40logger{36}){cyan} %highlight(:){faint} %msg%n"/>
<property name="FILE_LOG_PATTERN"
value="[%d{yyyy-MM-dd HH:mm:ss}:%-3relative] %-5level ${PID:-} --- [%15.15thread] %-40.40logger{36} : %msg%n"/>

Expand Down

0 comments on commit 6d679b9

Please sign in to comment.