Skip to content

Commit

Permalink
feat: add prod setting to logback
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarltj committed Feb 9, 2024
1 parent e863c2c commit d1c845b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ services:
NCP_SECRET_KEY: ${NCP_SECRET_KEY}
ACTIVE_PROFILE: ${ACTIVE_PROFILE}
DB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
KAKAO_CLIENT_ID: ${KAKAO_CLIENT_ID}
KAKAO_CLIENT_SECRET: ${KAKAO_CLIENT_SECRET}
KAKAO_REDIRECT_URI: ${KAKAO_REDIRECT_URI}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}

Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@
</root>
</springProfile>

<springProfile name="prod">
<include resource="appender/moneymong-console-appender.xml"/>
<root level="INFO">
<appender-ref ref="CONSOLE_APPENDER"/>
</root>
</springProfile>
</configuration>

0 comments on commit d1c845b

Please sign in to comment.