projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9851e51
)
service: don't use stdio log channel
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 26 Feb 2015 14:23:59 +0000
(15:23 +0100)
committer
Jo-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
patch
|
blob
|
history
diff --git
a/service/instance.c
b/service/instance.c
index 6787ae043d1ae15a2b171ae1d334610723b16dd4..778b6bee4e0f74bc44b8f0b406bb471c9b2b014f 100644
(file)
--- 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_S
TDIO|ULOG_S
YSLOG, LOG_DAEMON, ident);
+ ulog_open(ULOG_SYSLOG, LOG_DAEMON, ident);
ulog(prio, "%s\n", str);
- ulog_open(ULOG_S
TDIO|ULOG_S
YSLOG, LOG_DAEMON, "procd");
+ ulog_open(ULOG_SYSLOG, LOG_DAEMON, "procd");
ustream_consume(s, len);
} while (1);