Skip to content

Commit

Permalink
OF-2611: Introduce flag to disable logging to std-out
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Jul 19, 2023
1 parent b695d21 commit 9fb5508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public void run()
if (doLog) System.out.println("Ending read loop.");
} catch (Throwable t) {
// Log exception only when not cleanly closed.
if (!processingService.isShutdown()) {
if (doLog && !processingService.isShutdown()) {
t.printStackTrace();
}
} finally {
Expand Down

0 comments on commit 9fb5508

Please sign in to comment.