From dd89b60581b9a0470097a1bf3ced00a25d7774ae Mon Sep 17 00:00:00 2001 From: Changgyu Choi Date: Wed, 27 Sep 2023 13:38:05 +0900 Subject: [PATCH] Change stdio redirect buffer Changes buffer from LOG_ID_APPS to LOG_ID_MAIN Change-Id: I1863031404dafb8551e27f6c6769e1c2f92a33a9 Signed-off-by: Changgyu Choi --- src/lib/launchpad-common/stdio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/launchpad-common/stdio.cc b/src/lib/launchpad-common/stdio.cc index c701f18..5547a5a 100644 --- a/src/lib/launchpad-common/stdio.cc +++ b/src/lib/launchpad-common/stdio.cc @@ -44,7 +44,7 @@ void RedirectToNullNode(int new_fd, int flags) { } void Redirect(int fd, const char* ident, int priority) { - int ret = dlog_connect_fd(LOG_ID_APPS, fd, ident, priority); + int ret = dlog_connect_fd(LOG_ID_MAIN, fd, ident, priority); if (ret != 0) { _E("dlog_connect_fd() is failed. error(%d)", ret); RedirectToNullNode(fd, O_WRONLY | O_NOCTTY); -- 2.7.4