This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a35b2a5cc7 sched/posixspawn: disable tedious logging
a35b2a5cc7 is described below
commit a35b2a5cc7ac3c66b95014c3ad34bbef5b8fbd59
Author: Yanfeng Liu <[email protected]>
AuthorDate: Fri May 10 10:31:47 2024 +0800
sched/posixspawn: disable tedious logging
This log appears for NSH internal commands in KERNEL build and
duplicates a lot with task_spawn: log. So drop it to make the
DEBUG_SCHED_INFO logging more readable.
Signed-off-by: Yanfeng Liu <[email protected]>
---
sched/task/task_posixspawn.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sched/task/task_posixspawn.c b/sched/task/task_posixspawn.c
index b6000de462..66d62e4ca6 100644
--- a/sched/task/task_posixspawn.c
+++ b/sched/task/task_posixspawn.c
@@ -218,9 +218,6 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
FAR const posix_spawnattr_t *attr,
FAR char * const argv[], FAR char * const envp[])
{
- sinfo("pid=%p path=%s file_actions=%p attr=%p argv=%p\n",
- pid, path, file_actions, attr, argv);
-
return nxposix_spawn_exec(pid, path,
file_actions != NULL ?
*file_actions : NULL, attr, argv, envp);