🔧 Modify config server profile

This commit is contained in:
kimjaeyeol
2021-10-29 10:13:31 +09:00
parent 07ee5b9231
commit 767b8eacdc

View File

@@ -8,12 +8,12 @@
</appender>
<!-- 로컬에서는 로그를 전송하지 않도록 설정 -->
<springProfile name="native">
<springProfile name="default">
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</springProfile>
<springProfile name="!native">
<springProfile name="!default">
<!-- java -Dlogstash_hostname="localhost:5001" 와 같이 변경할 수 있다. cf 환경에서는 manifest.yml 파일에 환경변수로 추가 -->
<property name="destination" value="${logstash_hostname:-localhost:5001}" />
<property name="app_name" value="${app_name:-config-server}" />