From 465b421c663f94c17bb2f853bb49f8fc88a1c1a8 Mon Sep 17 00:00:00 2001 From: zhangtaohz Date: Tue, 27 Aug 2019 11:52:04 +0800 Subject: [PATCH] =?UTF-8?q?Mod=20aaa-12=20modify=20remote=20format=20RCA?= =?UTF-8?q?=EF=BC=9A=20SOL=EF=BC=9A=20=E4=BF=AE=E6=94=B9=E4=BA=BA=EF=BC=9A?= =?UTF-8?q?zhangtao=20=E6=A3=80=E8=A7=86=E4=BA=BA=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Platform/user/ulog/log-sched/log_remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/user/ulog/log-sched/log_remote.c b/Platform/user/ulog/log-sched/log_remote.c index 7656f6c36..31da25c7e 100755 --- a/Platform/user/ulog/log-sched/log_remote.c +++ b/Platform/user/ulog/log-sched/log_remote.c @@ -247,7 +247,7 @@ static int del_remote_host(const log_remote_host_t *conf) strcat(prefix, "@"); }; char redirect[MAX_LINE_SZ]; - if (snprintf(redirect, sizeof(redirect), "%s@%s:%u:%s", + if (snprintf(redirect, sizeof(redirect), "%s@%s:%u;%s", prefix, conf->host, conf->port, rfc_tbl[conf->rfc].fmt) < 0) { ULOG_ERR(g_log, "Setting remote redirect[%s:%u:%s] is faulure", conf->host, conf->port, rfc_tbl[conf->rfc].fmt); return ret;