Skip to content

Commit 8a7ee9e

Browse files
[ci] add debug log without source UI header
Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
1 parent 1a13102 commit 8a7ee9e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

apps/common/src/main/scala/org/lfdecentralizedtrust/splice/http/HttpServerMetrics.scala

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,16 @@ class HttpServerMetrics(
6868
.map { header =>
6969
val sourceUi = header.value
7070
logger.debug(
71-
s"Request from UI($customSourceUiHeader: $sourceUi): service = $service, operation= $operation"
71+
s"HTTP Request from UI($customSourceUiHeader: $sourceUi): service = $service, operation= $operation"
7272
)
7373
c.withExtraLabels(SourceUi -> sourceUi)
7474
}
75-
.getOrElse(c)
75+
.getOrElse {
76+
logger.debug(
77+
s"HTTP Request no source UI header: service = $service, operation= $operation"
78+
)
79+
c
80+
}
7681

7782
inFlightRequests.inc()
7883
val timing = requestTiming.startAsync()

0 commit comments

Comments
 (0)