Skip to content

Commit

Permalink
🔊 Set change stream event sent log message level to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Feb 23, 2024
1 parent ecabeb1 commit 2ac9f52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public enum STAGE_OPERATOR { $ifvar, $ifarg };

/**
* @param varOperator the var operator, $var for queries and aggregations, $arg for GraphQL mappings
* @param stageOperator the stagee operator, $ifvar for aggregations, $ifarg for GraphQL mappings
* @param stageOperator the stage operator, $ifvar for aggregations, $ifarg for GraphQL mappings
* @param stages the aggregation pipeline stages
* @param values RequestContext.getAggregationVars()
* @return the stages, with unescaped operators and bound variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void _changeStreamEventsLoop() {
this.websocketSessions.stream().forEach(session -> ThreadsUtils.virtualThreadsExecutor().execute(() -> {
try {
this.send(session, msg);
LOGGER.debug("Change event sent to WebSocket session {}", session.getId());
LOGGER.trace("Change event sent to WebSocket session {}", session.getId());
} catch (Throwable t) {
LOGGER.error("Error sending change event to WebSocket session ", session.getId(), t);
}
Expand Down

0 comments on commit 2ac9f52

Please sign in to comment.