Fix #1619 by removing unnecessarily chatty ruffy logging.
This commit is contained in:
parent
37852315a6
commit
8c23f4f6cf
1 changed files with 8 additions and 1 deletions
|
@ -70,7 +70,14 @@ public class RuffyScripter implements RuffyCommands {
|
||||||
private final IRTHandler mHandler = new IRTHandler.Stub() {
|
private final IRTHandler mHandler = new IRTHandler.Stub() {
|
||||||
@Override
|
@Override
|
||||||
public void log(String message) {
|
public void log(String message) {
|
||||||
aapsLogger.debug(LTag.PUMP, "Ruffy says: " + message);
|
// Ruffy is very verbose at this level, but the data provided isn't too helpful for
|
||||||
|
// debugging. For debugging Ruffy, it makes more sense to check logcat, where other
|
||||||
|
// possibly relevant (BT) events are also logged.
|
||||||
|
// Due to the amount of calls, logging this causes timing issues as reported in
|
||||||
|
// https://github.com/nightscout/AndroidAPS/issues/1619#issuecomment-1115811485
|
||||||
|
// This was caused by changing the log level from trace to debug so these messages
|
||||||
|
// where logged by default.
|
||||||
|
//aapsLogger.debug(LTag.PUMP, "Ruffy says: " + message);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue