service: don't use stdio log channel
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 26 Feb 2015 14:23:59 +0000 (15:23 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 26 Feb 2015 14:23:59 +0000 (15:23 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
service/instance.c

index 6787ae0..778b6be 100644 (file)
@@ -280,9 +280,9 @@ instance_stdio(struct ustream *s, int prio, struct service_instance *in)
                arg0 = basename(blobmsg_data(blobmsg_data(in->command)));
                snprintf(ident, sizeof(ident), "%s[%d]", arg0, in->proc.pid);
 
-               ulog_open(ULOG_STDIO|ULOG_SYSLOG, LOG_DAEMON, ident);
+               ulog_open(ULOG_SYSLOG, LOG_DAEMON, ident);
                ulog(prio, "%s\n", str);
-               ulog_open(ULOG_STDIO|ULOG_SYSLOG, LOG_DAEMON, "procd");
+               ulog_open(ULOG_SYSLOG, LOG_DAEMON, "procd");
 
                ustream_consume(s, len);
        } while (1);