Skip to content

Commit

Permalink
chore: local 환경 내 logging level 정보 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
psychology50 committed Mar 26, 2024
1 parent 9e6263b commit bc97765
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.tuple.Pair;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Helper
Expand All @@ -23,6 +24,7 @@ public class UserSyncHelper {
* @return Pair<Boolean, String> : 이미 가입된 회원인지 여부 (TRUE: 가입되지 않은 회원, FALSE: 가입된 회원), 가입된 회원인 경우 회원 ID 반환
* @throws UserErrorException : 이미 일반 회원가입을 한 유저인 경우
*/
@Transactional(readOnly = true)
public Pair<Boolean, String> isSignedUserWhenGeneral(String phone) {
User user;
try {
Expand Down
7 changes: 7 additions & 0 deletions pennyway-domain/src/main/resources/application-domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@ spring:

logging:
level:
ROOT: INFO
org.hibernate: DEBUG
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.sql: debug
org.hibernate.type: trace
com.zaxxer.hikari.HikariConfig: DEBUG
org.springframework.orm: TRACE
org.springframework.transaction: TRACE
com.zaxxer.hikari: TRACE
com.mysql.cj.jdbc: TRACE

---
spring:
Expand Down

0 comments on commit bc97765

Please sign in to comment.