From 8017b99ef91931dccf2d669d3100b6710d40e335 Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Tue, 23 Jan 2024 10:14:26 +0400 Subject: [PATCH] Simulate log-print. --- cmd/jag/commands/proxy_network.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/jag/commands/proxy_network.go b/cmd/jag/commands/proxy_network.go index 8dd35bbe..132e41f5 100644 --- a/cmd/jag/commands/proxy_network.go +++ b/cmd/jag/commands/proxy_network.go @@ -213,8 +213,8 @@ func runProxyServer(ud *uartDevice, identity *uartIdentity) error { } }) - // TODO(florian): this print should be a log. - fmt.Printf("Proxying device %s through 'http://%s:%d'.\n", identity.Name, localIP, localPort) + // Simulate a log print from the device. + fmt.Printf("[jaguar.uart] INFO: running Jaguar device '%s' (id: '%s'), proxied through 'http://%s:%d'.\n", identity.Name, identity.Id, localIP, localPort) err = broadcastIdentity(identityPayload) if err != nil { return err