From: Olga Arkhangelskaia <arkholga@tarantool.org> To: tarantool-patches@freelists.org Cc: Olga Arkhangelskaia <arkholga@tarantool.org> Subject: [tarantool-patches] [PATCH] Fixes logging to syslog Date: Tue, 10 Jul 2018 11:11:49 +0300 [thread overview] Message-ID: <20180710081149.88806-1-arkholga@tarantool.org> (raw) Fixes assertion when setting log to syslog box.cfg{log = 'syslog:identity=tarantool'} Closes #3502 --- src/box/box.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/box.cc b/src/box/box.cc index f00a4f32d..033829a7f 100644 --- a/src/box/box.cc +++ b/src/box/box.cc @@ -355,9 +355,9 @@ box_check_say() tnt_raise(ClientError, ER_CFG, "log", diag_last_error(diag_get())->errmsg); } + diag_raise(); } say_free_syslog_opts(&opts); - diag_raise(); } const char *log_format = cfg_gets("log_format"); -- 2.14.3 (Apple Git-98)
next reply other threads:[~2018-07-10 8:12 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-10 8:11 Olga Arkhangelskaia [this message] 2018-07-10 11:46 ` Vladimir Davydov 2018-07-10 11:54 ` Vladimir Davydov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180710081149.88806-1-arkholga@tarantool.org \ --to=arkholga@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH] Fixes logging to syslog' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox