Skip to content

Commit

Permalink
Lowered obsolete debug message level, added comment (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Aug 5, 2023
1 parent 08abb9d commit 15d7f44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ private boolean append(Signal<Double, Void> signal) {

// There's nothing we can do before the width is set.
// It's not even worth it to record the value.
// VT: NOTE: See the similar comment in ZoneChart2021

logger.info("please repaint");
logger.debug("please repaint (need to leave the dashboard for that)");
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ private boolean append(Signal<ZoneChartDataPoint, Void> signal) {
// It's not even worth it to record the value.

// VT: NOTE: This used to be a pretty often encountered race condition. Nowadays, it's a sign of a programming error.
// VT: NOTE: ...or a design change. With arrival of InstrumentCluster, this panel may not see the light of day
// for a long time. For now, down to DEBUG level, will figure out a better solution... in another decade or so.

logger.info("please repaint (is everything all right?)");
logger.debug("please repaint (is everything all right? did we leave the dashboard yet?)");
return true;
}

Expand Down

0 comments on commit 15d7f44

Please sign in to comment.