Skip to content

Commit

Permalink
fix: verifier req/res logging on debug (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F authored Mar 15, 2022
1 parent 64430cc commit 3edc5a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dsl/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Verifier {

private createRequestTracer(): express.RequestHandler {
return (req, _, next) => {
logger.trace("incoming request", removeEmptyRequestProperties(req))
logger.debug("incoming request", removeEmptyRequestProperties(req))
next()
}
}
Expand All @@ -231,7 +231,7 @@ export class Verifier {
chunks.push(Buffer.from(chunk))
}
const body = Buffer.concat(chunks).toString("utf8")
logger.trace(
logger.debug(
"outgoing response",
removeEmptyResponseProperties(body, res)
)
Expand Down

0 comments on commit 3edc5a0

Please sign in to comment.