From: Jo-Philipp Wich Date: Thu, 26 Feb 2015 14:23:59 +0000 (+0100) Subject: service: don't use stdio log channel X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cc62595d30eb6828c50aad12fec3d3a9d4adcf3a;p=oweals%2Fprocd.git service: don't use stdio log channel Signed-off-by: Jo-Philipp Wich --- 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);