From 7bfdad5f739c846fefd5399e9226ca9d92f597b2 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Sun, 6 Jun 2021 22:07:46 -0700 Subject: [PATCH] [posix] fix issue with logging CLI output (#6709) This commit reverts the change from PR #6639 which added logging of the CLI output. Note that the CLI output can be generated and outputted in smaller pieces (not as a whole line) so the model from PR #6639 would emit each piece as a different log line which is not desirable. --- src/posix/platform/daemon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/posix/platform/daemon.cpp b/src/posix/platform/daemon.cpp index 0e554b8ed..08f3fd089 100644 --- a/src/posix/platform/daemon.cpp +++ b/src/posix/platform/daemon.cpp @@ -80,7 +80,6 @@ int Daemon::OutputFormatV(const char *aFormat, va_list aArguments) VerifyOrExit(rval >= 0, otLogWarnPlat("Failed to format CLI output: %s", strerror(errno))); - otLogInfoPlat("%s", buf); VerifyOrExit(mSessionSocket != -1); #if defined(__linux__)