Skip to content

Commit

Permalink
removed temp disable email related error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
eziztm committed Sep 20, 2023
1 parent 6fbde65 commit b44c326
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion apps/backend/nais/alerts-backend-prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: team-catalog-backend_high_failrate
rules:
- alert: team-catalog-backend høy feilrate i logger
expr: (100 * sum by (app, namespace) (rate(log_messages_errors{app="team-catalog-backend",namespace="org"}[3m])) / sum by (app, namespace) (rate(log_messages_total{app="team-catalog-backend",namespace="org"}[3m]))) > 10
expr: (100 * sum by (app, namespace) (rate(log_messages_errors{app="team-catalog-backend",namespace="org"}[3m])) / sum by (app, namespace) (rate(log_messages_total{app="team-catalog-backend",namespace="org"}[3m]))) > 100 #todo: temp disable ORG-1582 change back to 10
for: 3m
annotations:
action: "Sjekk loggene til app {{ $labels.app }}, for å se hvorfor det er så mye feil"
Expand Down
4 changes: 0 additions & 4 deletions apps/backend/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
<appender-ref ref="STDOUT"/>
</root>

<!-- TODO: Delete this ORG-1582 -->
<logger name="com.microsoft.aad.msal4j" level="INFO" />
<logger name="org.springframework.scheduling.support" level="INFO" />

<logger name="no.nav.nom" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
Expand Down

0 comments on commit b44c326

Please sign in to comment.