From cc62595d30eb6828c50aad12fec3d3a9d4adcf3a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 26 Feb 2015 15:23:59 +0100 Subject: service: don't use stdio log channel Signed-off-by: Jo-Philipp Wich --- service/instance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service') 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); -- cgit v1.2.3