Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [PIDM-211] Reduced log severity #86

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ActorUtility {
),
reExtra = Some(ReExtra(uri = Some(req.uri), httpMethod = Some(req.method.value), soapProtocol = isSoapProtocol))
)
log.info(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER))
log.debug(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER))
sendReEvent(actorProps, reRequest)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ case class NodoRoute(
payloadTry match {
case Success(payload) =>
val request = ctx.request
log.info(s"Content-Type [${request.entity.contentType}]")
log.debug(s"Content-Type [${request.entity.contentType}]")
val soapRouterRequest = SoapRouterRequest(
sessionId,
payload,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class RestActorPerRequest(
case srr: RestRouterRequest =>
log.debug("RECEIVE RestRouterRequest")
message = srr
log.info(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = true))
log.debug(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = true))
sendToBundle(message)

case sres: RestResponse =>
Expand All @@ -96,7 +96,7 @@ class RestActorPerRequest(
bundleResponse = sres

log.debug("RECEIVE RestResponse")
log.info(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = false))
log.debug(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = false))

val now = Util.now()
val reRequest = ReRequest(
Expand Down Expand Up @@ -162,7 +162,7 @@ class RestActorPerRequest(
case Some(router) =>
val restRequest =
RestRequest(message.sessionId, message.payload, message.queryParams, message.pathParams, message.callRemoteAddress.getOrElse(""), message.primitiva, message.timestamp, reExtra(message), message.testCaseId)
log.info(FdrLogConstant.callBundle(router.path.name))
log.debug(FdrLogConstant.callBundle(router.path.name))
router ! restRequest
case None =>
log.error(s"Router [${message.primitiva}] not found")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class SoapActorPerRequest(
reExtra = Some(ReExtra(statusCode = Some(bundleResponse.statusCode), elapsed = Some(message.timestamp.until(now,ChronoUnit.MILLIS)), soapProtocol = true))
)
Util.logPayload(log, sres.payload)
log.info(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = false))
log.debug(FdrLogConstant.callBundle(Constant.KeyName.RE_FEEDER, isInput = false))
reActor ! reRequest
}

Expand Down Expand Up @@ -252,7 +252,7 @@ class SoapActorPerRequest(
message.testCaseId
)
} yield (router, soapRequest)) map { case (router, soapRequest) =>
log.info(FdrLogConstant.callBundle(router.path.name))
log.debug(FdrLogConstant.callBundle(router.path.name))
router ! soapRequest
} recover {
case sre: SoapRouterException =>
Expand Down
Loading