diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-03-27 01:13:26 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-27 01:13:26 -0700 |
commit | fee34c1b119596187ff08d0b3c091300702dc12e (patch) | |
tree | 404523649a470b15c40b66feb2bf13ae5b538811 /src/android/net/dhcp/DhcpClient.java | |
parent | e685958f4dd65b8d2576f2f914e3ebd618b609b2 (diff) | |
parent | c85b2638bd821e9f807ad468ab45a06e9857277d (diff) |
Merge "Enable more logs for networking"
am: f3736d67f8
Change-Id: I422863512aa78849dcb5d61d986d7f8bbff24fd2
Diffstat (limited to 'src/android/net/dhcp/DhcpClient.java')
-rw-r--r-- | src/android/net/dhcp/DhcpClient.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/net/dhcp/DhcpClient.java b/src/android/net/dhcp/DhcpClient.java index 0b7809e..c6dd011 100644 --- a/src/android/net/dhcp/DhcpClient.java +++ b/src/android/net/dhcp/DhcpClient.java @@ -102,9 +102,9 @@ public class DhcpClient extends StateMachine { private static final String TAG = "DhcpClient"; private static final boolean DBG = true; - private static final boolean STATE_DBG = false; - private static final boolean MSG_DBG = false; - private static final boolean PACKET_DBG = false; + private static final boolean STATE_DBG = Log.isLoggable(TAG, Log.DEBUG); + private static final boolean MSG_DBG = Log.isLoggable(TAG, Log.DEBUG); + private static final boolean PACKET_DBG = Log.isLoggable(TAG, Log.DEBUG); // Metrics events: must be kept in sync with server-side aggregation code. /** Represents transitions from DhcpInitState to DhcpBoundState */ |