From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2F32C2BB1D for ; Tue, 17 Mar 2020 17:23:20 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C5F320663 for ; Tue, 17 Mar 2020 17:23:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=opal.com header.i=@opal.com header.b="ioJ7Uszm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C5F320663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=opal.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c6acda65; Tue, 17 Mar 2020 17:17:04 +0000 (UTC) Received: from mail.opal.com (tunnel103479-pt.tunnel.tserv4.nyc4.ipv6.he.net [2001:470:1f06:113d::2]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id b446237b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 17 Mar 2020 10:27:26 +0000 (UTC) Received: from susauq.opal.com (vpn-2.opal.com [IPv6:2001:470:8cb8:4:0:0:0:2]) (authenticated bits=0) by mail.opal.com (8.15.2/8.15.2) with ESMTPSA id 02HAB8Aj061461 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Mar 2020 06:11:09 -0400 (EDT) (envelope-from jr@opal.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opal.com; s=mail; t=1584439870; bh=NG8xxvXFwi94QBG9BLTR+QbtlQUm1SUu0HVjGfUd3hI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ioJ7UszmK0cNdZUFev+jNai9NpP7YLSc9DSQeu0Os8v7CGhGH9fZbJMRfQo6ZWwZ/ mQBzNDGxhPYUGWOkQ+P3K2Vi5ihwJT/gVn8B7Py9OvrS7qdRbIH/hIHBwthPyohY01 rTrgAJDLgtkU0BLZWleyv7IjU7oiOy43OJRfrvJQ= Received: from susauq.opal.com (localhost [127.0.0.1]) by susauq.opal.com (8.15.2/8.15.2) with ESMTPS id 02HAB7xg074001 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Mar 2020 11:11:07 +0100 (CET) (envelope-from jr@opal.com) Received: (from jr@localhost) by susauq.opal.com (8.15.2/8.15.2/Submit) id 02HAB6aA074000; Tue, 17 Mar 2020 11:11:06 +0100 (CET) (envelope-from jr) From: "J.R. Oldroyd" To: WireGuard mailing list Cc: "J.R. Oldroyd" Subject: [PATCH 0/1] Re: Logging Date: Tue, 17 Mar 2020 11:09:56 +0100 Message-Id: <20200317100956.73928-1-wgrd@opal.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.opal.com [IPv6:2001:470:8cb8:2:0:0:0:1]); Tue, 17 Mar 2020 06:11:10 -0400 (EDT) X-Mailman-Approved-At: Tue, 17 Mar 2020 18:17:01 +0100 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Here's the same syslog logging files sent from git. J.R. Oldroyd (1): Add support for logging to syslog(3) on operating systems that support it (i.e., non-Windows, non-Plan9). device/logger.go | 45 ++++++---------- device/logger_syslog.go | 112 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+), 28 deletions(-) create mode 100644 device/logger_syslog.go -- 2.24.0