From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailfilter01.viettel.com.vn (mailfilter01.viettel.com.vn [125.235.240.53]) by dpdk.org (Postfix) with ESMTP id 8FE241C01 for ; Tue, 17 Jul 2018 06:10:21 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.51,364,1526317200"; d="scan'208,217";a="81337221" Received: from 125.235.240.44.adsl.viettel.vn (HELO mta1.viettel.com.vn) ([125.235.240.44]) by mailfilter01.viettel.com.vn with ESMTP; 17 Jul 2018 11:10:20 +0700 Received: from localhost (localhost [127.0.0.1]) by mta1.viettel.com.vn (Postfix) with ESMTP id CF66D61332E for ; Tue, 17 Jul 2018 11:10:09 +0700 (ICT) Received: from mta1.viettel.com.vn ([127.0.0.1]) by localhost (mta1.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ymnpHNN67FE6 for ; Tue, 17 Jul 2018 11:10:09 +0700 (ICT) Received: from localhost (localhost [127.0.0.1]) by mta1.viettel.com.vn (Postfix) with ESMTP id ACE4060E09B for ; Tue, 17 Jul 2018 11:10:09 +0700 (ICT) X-Virus-Scanned: amavisd-new at Received: from mta1.viettel.com.vn ([127.0.0.1]) by localhost (mta1.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xh9vUQsWDihD for ; Tue, 17 Jul 2018 11:10:09 +0700 (ICT) Received: from ANMLONGTB5 (unknown [27.68.241.28]) by mta1.viettel.com.vn (Postfix) with ESMTPSA id 7A1E761332E for ; Tue, 17 Jul 2018 11:10:09 +0700 (ICT) To: Message-ID: <000001d41d84$fcdb0e10$f6912a30$@viettel.com.vn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdQdgtoTn7zyF0a8TziIv6fOSUv24w== Content-Language: en-us MilterAction: FORWARD Date: Tue, 17 Jul 2018 11:10:09 +0700 (ICT) From: longtb5@viettel.com.vn Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Logging with syslog X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 04:10:23 -0000 Hi, I'm trying to improve the logging system for my application. From my understanding, the default log_stream is fopencookie()'d to enable sending logs to syslog as well. However, for my use case, logs should always be sent to syslog, but not always written to stdout as it would clog up my command line interface (I'm using rte_cmdline). Is there a way to achieve this with available DPDK logging utilities via some kind of configuration? Or must I manually create another log_stream with fopencookie()? Thanks and best regards, -BL