summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-26 15:23:59 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-02-26 15:23:59 +0100
commitcc62595d30eb6828c50aad12fec3d3a9d4adcf3a (patch)
tree8113b0fae7cb85f4b8191ec81de644a583354bcd
parent9851e517f1c3e55228e2fdde913c9cf0b87a4bc7 (diff)
downloadunitd-cc62595d30eb6828c50aad12fec3d3a9d4adcf3a.tar
unitd-cc62595d30eb6828c50aad12fec3d3a9d4adcf3a.zip
service: don't use stdio log channel
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r--service/instance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/instance.c b/service/instance.c
index 6787ae0..778b6be 100644
--- a/service/instance.c
+++ b/service/instance.c
@@ -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);