Skip to content

Commit

Permalink
[vpj][controller][server] Change log level from INFO to DEBUG in VW::…
Browse files Browse the repository at this point in the history
…endSegment to reduce spamming (#812)
  • Loading branch information
sushantmane authored Jan 4, 2024
1 parent 6827575 commit 7b67b9c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1950,11 +1950,11 @@ public void endSegment(int partition, boolean finalSegment) {
synchronized (this.partitionLocks[partition]) {
Segment currentSegment = segments[partition];
if (currentSegment == null) {
logger.info("endSegment(partition {}) called but currentSegment == null. Ignoring.", partition);
logger.debug("endSegment(partition {}) called but currentSegment == null. Ignoring.", partition);
} else if (!currentSegment.isStarted()) {
logger.info("endSegment(partition {}) called but currentSegment.started == false. Ignoring.", partition);
logger.debug("endSegment(partition {}) called but currentSegment.started == false. Ignoring.", partition);
} else if (currentSegment.isEnded()) {
logger.info("endSegment(partition {}) called but currentSegment.ended == true. Ignoring.", partition);
logger.debug("endSegment(partition {}) called but currentSegment.ended == true. Ignoring.", partition);
} else {
try {
sendEndOfSegment(
Expand Down

0 comments on commit 7b67b9c

Please sign in to comment.