Change stdio redirect buffer 85/299385/1
authorChanggyu Choi <changyu.choi@samsung.com>
Wed, 27 Sep 2023 04:38:05 +0000 (13:38 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Wed, 27 Sep 2023 04:38:05 +0000 (13:38 +0900)
Changes buffer from LOG_ID_APPS to LOG_ID_MAIN

Change-Id: I1863031404dafb8551e27f6c6769e1c2f92a33a9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/lib/launchpad-common/stdio.cc

index c701f18..5547a5a 100644 (file)
@@ -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);