Skip to content

Commit 4f419e6

Browse files
committed
log fix
1 parent 2c6889d commit 4f419e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ import no.nav.emottak.ebms.validation.validateMimeSoapEnvelope
5050
import no.nav.emottak.ebms.xml.asString
5151
import no.nav.emottak.ebms.xml.getDocumentBuilder
5252
import no.nav.emottak.melding.model.EbmsAttachment
53-
import no.nav.emottak.util.getEnvVar
5453
import org.slf4j.LoggerFactory
5554
import java.io.ByteArrayInputStream
5655
import java.time.Duration

ebms-provider/src/main/kotlin/no/nav/emottak/ebms/HttpClients.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ suspend fun getEbmsSendInToken(): BearerTokens {
7777
"&client_secret=" + getEnvVar("AZURE_APP_CLIENT_SECRET", "dummysecret") +
7878
"&scope=" + AuthConfig.getEbmsSendInScope() +
7979
"&grant_type=client_credentials"
80-
sendInTokenLog.info("getEbmsSendInToken() with client_id: ${getEnvVar("AZURE_APP_CLIENT_ID", "ebms-send-in")} and scope: ${AuthConfig.getEbmsSendInScope()}")
80+
log.info("getEbmsSendInToken() running with client_id: ${getEnvVar("AZURE_APP_CLIENT_ID", "ebms-send-in")} and scope: ${AuthConfig.getEbmsSendInScope()}")
8181
return HttpClient(CIO).post(AuthConfig.getAzureTokenEndpoint()) {
8282
headers {
8383
header("Content-Type", "application/x-www-form-urlencoded")

0 commit comments

Comments
 (0)