Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

staging and production environment logging spring boot

<springProfile name="staging">
	<!-- configuration to be enabled when the "staging" profile is active -->
</springProfile>

<springProfile name="dev | staging">
	<!-- configuration to be enabled when the "dev" or "staging" profiles are active -->
</springProfile>

<springProfile name="!production">
	<!-- configuration to be enabled when the "production" profile is not active -->
</springProfile>
Source by docs.spring.io #
 
PREVIOUS NEXT
Tagged: #staging #production #environment #logging #spring #boot
ADD COMMENT
Topic
Name
7+8 =