요약


1. 공통 Log 정책 설립

1-1. Log Level.

LOG_LEVEL: DEBUG
ROOT_LOG_LEVEL: ERROR

logging:
  level:
    root: ${ROOT_LOG_LEVEL}
    org.hibernate.orm.jdbc.bind: TRACE
    io.leeeseunghee: ${LOG_LEVEL}
    
    # MSA 구조일 경우, 아래 추가
    org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator: INFO
    org.springframework.cloud.gateway: DEBUG

1-2. Log Pattern.

LOG_PATH_NAME: /wisoft/logs/backend/dev/fcfs
LOG_FILE_NAME: fcfs

logging:
  file:
    name: ${LOG_PATH_NAME}/${LOG_FILE_NAME}.log
  pattern:
    console: '%d %clr([%-5level]) %replace(%caller{1}){"Caller\\+\\d	 at ",""}%msg%n'
    file: "%d [%-5level] [%thread] [%c{25}] [%method] %msg%n"