mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 20:27:47 +00:00
[daemon] logging CLI output (#6639)
The CLI input is already logged as info level messages. This commit writes the CLI output as info level logging messages.
This commit is contained in:
@@ -81,7 +81,8 @@ int OutputFormatV(void *aContext, const char *aFormat, va_list aArguments)
|
||||
|
||||
VerifyOrExit(rval >= 0, otLogWarnPlat("Failed to format CLI output: %s", strerror(errno)));
|
||||
|
||||
VerifyOrExit(sSessionSocket != -1, otLogDebgPlat("%s", buf));
|
||||
otLogInfoPlat("%s", buf);
|
||||
VerifyOrExit(sSessionSocket != -1);
|
||||
|
||||
#if defined(__linux__)
|
||||
// Don't die on SIGPIPE
|
||||
|
||||
Reference in New Issue
Block a user