Skip to content

Commit

Permalink
♻️ remove comment on logback
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Dec 3, 2024
1 parent 7615b10 commit a83c5b8
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions backend/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>

<!-- Remove comment if you want to test loki on local -->
<!-- <springProfile name="local">-->
<!-- <property name="LOKI_URL" value="http://localhost:3100/loki/api/v1/push"/>-->
<!-- </springProfile>-->
<!-- Remove comment if you want to test loki on local -->
<springProfile name="local">
<property name="LOKI_URL" value="http://localhost:3100/loki/api/v1/push"/>
</springProfile>
<springProfile name="test">
<property name="LOKI_URL" value="http://localhost:3100/loki/api/v1/push"/>
</springProfile>
<springProfile name="dev">
<property name="LOKI_URL" value="http://loki:3100/loki/api/v1/push"/>
</springProfile>
Expand Down Expand Up @@ -33,10 +36,9 @@
</appender>

<root level="INFO">
<!-- Remove comment if you want to test loki on local -->
<!-- <springProfile name="local">-->
<!-- <appender-ref ref="LOKI"/>-->
<!-- </springProfile>-->
<springProfile name="local">
<appender-ref ref="LOKI"/>
</springProfile>
<springProfile name="dev">
<appender-ref ref="LOKI"/>
</springProfile>
Expand Down

0 comments on commit a83c5b8

Please sign in to comment.