Skip to content

Commit

Permalink
Fjern debug logstatements
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristianrosland committed Mar 14, 2024
1 parent af2e944 commit 3f09060
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/kotlin/no/digipost/github/monitoring/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ suspend fun main(): Unit = coroutineScope {
val severityLimitForNotifications = SecurityAdvisorySeverity.safeValueOf(getEnvOrProp("severity_limit").orElse("UNKNOWN"))
val logger = LoggerFactory.getLogger("no.digipost.github.monitoring.Main")
val prometheusMeterRegistry = PrometheusMeterRegistry(PrometheusConfig.DEFAULT)
if (getEnvOrProp("severity_limit").isPresent) {
logger.warn("Severity limit " + getEnvOrProp("severity_limit").get())
}
else {
logger.warn("Severity limit ikke satt")
System.getProperties()
}

ApplicationInfoMetrics().bindTo(prometheusMeterRegistry)

Expand Down

0 comments on commit 3f09060

Please sign in to comment.