Skip to content

Commit

Permalink
Reduce log spam in CPA-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
GardOS committed Aug 28, 2024
1 parent 7d41616 commit e876fb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CpaSyncService(private val cpaRepoClient: HttpClient, private val nfsConne
if (entry.filename.endsWith(".xml")) {
return true
}
log.warn("${entry.filename} is ignored. Invalid file ending")
log.debug("${entry.filename} is ignored. Invalid file ending")
return false
}

Expand Down Expand Up @@ -98,7 +98,7 @@ class CpaSyncService(private val cpaRepoClient: HttpClient, private val nfsConne
val unzippedCpaContent = unzipCpaContent(entry.value.content)
cpaRepoClient.putCPAinCPARepo(unzippedCpaContent, entry.value.timestamp)
} else {
log.info("Skipping upsert for unmodified CPA: ${entry.key} - ${entry.value.timestamp}")
log.debug("Skipping upsert for unmodified CPA: ${entry.key} - ${entry.value.timestamp}")
}
}
}
Expand Down

0 comments on commit e876fb1

Please sign in to comment.