ConfigBuilderPlugin.applyApsResult: more verbose logging

Log whether the pump was asked to set a TBR if if that is skipped
since the pump still runs the requested TBR and for how long.
This commit is contained in:
Johannes Mockenhaupt 2017-07-19 13:54:43 +02:00
parent 1cf6448b0e
commit a8ecc85429
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -579,7 +579,9 @@ public class ConfigBuilderPlugin implements PluginBase, PumpInterface, Constrain
result.comment = "Temp basal set correctly"; result.comment = "Temp basal set correctly";
result.success = true; result.success = true;
if (Config.logCongigBuilderActions) if (Config.logCongigBuilderActions)
log.debug("applyAPSRequest: Temp basal set correctly"); log.debug("applyAPSRequest: Temp basal set correctly " +
"(no pump request needed, pump is still running request TBR for "
+ getTempBasalRemainingMinutesFromHistory() + " more minutes)");
} else { } else {
if (Config.logCongigBuilderActions) if (Config.logCongigBuilderActions)
log.debug("applyAPSRequest: setTempBasalAbsolute()"); log.debug("applyAPSRequest: setTempBasalAbsolute()");