diff --git a/tunnel/src/main/java/org/openziti/tunnel/Tunnel.kt b/tunnel/src/main/java/org/openziti/tunnel/Tunnel.kt index 02705a5..12260cc 100644 --- a/tunnel/src/main/java/org/openziti/tunnel/Tunnel.kt +++ b/tunnel/src/main/java/org/openziti/tunnel/Tunnel.kt @@ -67,10 +67,10 @@ class Tunnel(app: Application, ): Runnable { inline fun processCmd(cmd: C): CompletableFuture = CompletableFuture().apply { val data = cmd.toJson() - Log.i(TAG, "cmd[${cmd.id}] = $data") + Log.d(TAG, "cmd[${cmd.id}] = $data") executeCommand(cmd.cmd.name, data, this) }.thenApply { - Log.i(TAG, "result[${cmd.id}] = $it") + Log.d(TAG, "result[${cmd.id}] = $it") if (!it.success) throw Exception(it.error) it.data } @@ -84,7 +84,7 @@ class Tunnel(app: Application, ): Runnable { try { EventsJson.decodeFromString(it) } catch (ex: Exception) { - Log.w("model", ex) + Log.w(TAG, ex) null } }.filterNotNull()