Skip to content

Commit

Permalink
Increase log severity for proposals generation failure from INFO to…
Browse files Browse the repository at this point in the history
… `WARN`

## Summary

- Increase log severity for proposals generation failure: `INFO` -> `WARN`
- in order to increase visibility

## Testing done
1. `$ ./gradlew test`
  • Loading branch information
mhratson authored Jan 5, 2024
1 parent 425ad30 commit 92c5b4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ public synchronized void setGeneratingProposalsForExecution(String uuid, Supplie
public synchronized void failGeneratingProposalsForExecution(String uuid) {
if (_executorState.state() == GENERATING_PROPOSALS_FOR_EXECUTION) {
if (uuid != null && uuid.equals(_uuid)) {
LOG.info("Failed to generate proposals for execution (UUID: {} reason: {}).", uuid, _reasonSupplier.get());
LOG.warn("Failed to generate proposals for execution (UUID: {} reason: {}).", uuid, _reasonSupplier.get());
_uuid = null;
_reasonSupplier = null;
_executorState = ExecutorState.noTaskInProgress(recentlyDemotedBrokers(), recentlyRemovedBrokers());
Expand Down

0 comments on commit 92c5b4a

Please sign in to comment.