}
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);