Change stdio redirect buffer
[platform/core/appfw/launchpad.git] / 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);