-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: logback 설정을 추가한다. * remove: test entity 및 미사용 import 제거
- Loading branch information
Showing
7 changed files
with
30 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
src/main/java/com/moneymong/domain/test/controller/TestController.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/java/com/moneymong/domain/test/repository/TestRepository.java
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
src/main/java/com/moneymong/domain/test/service/TestService.java
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/main/java/com/moneymong/domain/user/entity/UserUniversity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<included> | ||
<appender name="CONSOLE_APPENDER" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<Pattern>${CONSOLE_LOG_PATTERN}</Pattern> | ||
</encoder> | ||
</appender> | ||
</included> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<configuration packagingData="true"> | ||
<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter"/> | ||
<property name="CONSOLE_LOG_PATTERN" | ||
value="%clr(%d{yyyyMMdd HH:mm:ss.SSS}){magenta} %clr([%thread]){blue} %clr(%-5level){} %clr([%logger{0}:%line]){cyan} : %msg %n"/> | ||
|
||
<property name="AWS_LOG_PATTERN" | ||
value="[%thread] [%date] [%level] [%file:%line] - %msg%n"/> | ||
|
||
<springProfile name="local"> | ||
<include resource="appender/moneymong-console-appender.xml"/> | ||
<root level="INFO"> | ||
<appender-ref ref="CONSOLE_APPENDER"/> | ||
</root> | ||
</springProfile> | ||
|
||
<springProfile name="dev"> | ||
<include resource="appender/moneymong-console-appender.xml"/> | ||
<root level="INFO"> | ||
<appender-ref ref="CONSOLE_APPENDER"/> | ||
</root> | ||
</springProfile> | ||
|
||
</configuration> |