From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4C95927154 for ; Tue, 17 Jul 2018 05:03:02 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MOvGgNhuMOTm for ; Tue, 17 Jul 2018 05:03:02 -0400 (EDT) Received: from smtp5.mail.ru (smtp5.mail.ru [94.100.179.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id F10FA27053 for ; Tue, 17 Jul 2018 05:03:01 -0400 (EDT) From: Olga Arkhangelskaia Subject: [tarantool-patches] [PATCH v2 0/3] Syslog destination Date: Tue, 17 Jul 2018 12:02:48 +0300 Message-Id: <20180717090251.53077-1-arkholga@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Olga Arkhangelskaia This series adds support of configurable destionation for syslog. The option is called server. Possible options are ip4 and unix socket: syslog:server=unix:/path/to/socket,identity=myinstance syslog:server=ip4:port,identity=tarantool_myinstance If server option is not set, but syslog is used in log configuration - default sockets for syslogd are used: /dev/log or /var/run/syslog. This series is upon fix #3205. That will be slightly changed later. Issue: #3487 --- https://github.com/tarantool/tarantool/issues/3487 Branch: OKriw/gh-3487-syslog-conf-dest --- https://github.com/tarantool/tarantool/tree/OKriw/gh-3487-syslog-conf-dest v2: - Changed tests. Use random port, no sever is started, used current dir - Changed basic structs - now we have emum for syslog dst, reuse log->path Olga Arkhangelskaia (3): Configurable syslog destination Syslog remote destination test Syslog destination test unix socket src/say.c | 106 +++++++++++++++++++++++++++++++++--- src/say.h | 14 ++++- test/app-tap/syslog_remote.test.lua | 37 +++++++++++++ test/app-tap/syslog_socket.test.lua | 40 ++++++++++++++ 4 files changed, 189 insertions(+), 8 deletions(-) create mode 100755 test/app-tap/syslog_remote.test.lua create mode 100755 test/app-tap/syslog_socket.test.lua -- 2.14.3 (Apple Git-98)