global: Clean up error logging

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland
2018-01-09 09:37:49 -06:00
parent a1d955ef62
commit daacc06a0d
5 changed files with 13 additions and 10 deletions
@@ -18,10 +18,10 @@ public class BootShutdownReceiver extends BroadcastReceiver {
return;
final TunnelManager tunnelManager = Application.getComponent().getTunnelManager();
if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
Log.d(TAG, "Broadcast receiver restoring state (boot)");
Log.i(TAG, "Broadcast receiver restoring state (boot)");
tunnelManager.restoreState().whenComplete(ExceptionLoggers.D);
} else if (Intent.ACTION_SHUTDOWN.equals(action)) {
Log.d(TAG, "Broadcast receiver saving state (shutdown)");
Log.i(TAG, "Broadcast receiver saving state (shutdown)");
tunnelManager.saveState();
}
}