Skip to content

Commit

Permalink
Merge pull request #156 from AltBeacon/stop-log-spam-when-bluetooth-d…
Browse files Browse the repository at this point in the history
…isabled

cut log spam by logging bluetooth off at debug level
  • Loading branch information
davidgyoung committed Apr 5, 2015
2 parents fecd29a + a4f9552 commit aef8a5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected void scanLeDevice(final Boolean enable) {
}
mLastScanCycleStartTime = new Date().getTime();
} else {
LogManager.w(TAG, "Bluetooth is disabled. Cannot scan for beacons.");
LogManager.d(TAG, "Bluetooth is disabled. Cannot scan for beacons.");
}
}
} catch (Exception e) {
Expand Down Expand Up @@ -253,7 +253,7 @@ private void finishScanCycle() {
}
mLastScanCycleEndTime = new Date().getTime();
} else {
LogManager.w(TAG, "Bluetooth is disabled. Cannot scan for beacons.");
LogManager.d(TAG, "Bluetooth is disabled. Cannot scan for beacons.");
}
}
mNextScanCycleStartTime = getNextScanStartTime();
Expand Down

0 comments on commit aef8a5f

Please sign in to comment.