[daemon] remove log of CLI input (#8994)

This commit removes logging of the CLI input in `Daemon::Process()`.
This ensures that sensitive info (e.g. dataset and/or network key)
is not emitted in the logs. The CLI input/output can be logged using
the CLI related configs `OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE`
and/or `OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_LEVEL`.
This commit is contained in:
Abtin Keshavarzian
2023-04-26 06:41:36 -07:00
committed by GitHub
parent 25942910ab
commit 5e15b93ff2
-1
View File
@@ -341,7 +341,6 @@ void Daemon::Process(const otSysMainloopContext &aContext)
if (rval > 0)
{
buffer[rval] = '\0';
otLogInfoPlat("> %s", reinterpret_cast<const char *>(buffer));
otCliInputLine(reinterpret_cast<char *>(buffer));
}
else