From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.cs.Stanford.EDU (smtp2.cs.stanford.edu [171.64.64.26]) by dpdk.org (Postfix) with ESMTP id CC2BA11C5 for ; Wed, 14 Sep 2016 23:09:09 +0200 (CEST) Received: from mail-it0-f44.google.com ([209.85.214.44]:33115) by smtp2.cs.Stanford.EDU with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bkHQa-0006nB-Ci for users@dpdk.org; Wed, 14 Sep 2016 14:09:08 -0700 Received: by mail-it0-f44.google.com with SMTP id x192so10182922itb.0 for ; Wed, 14 Sep 2016 14:09:08 -0700 (PDT) X-Gm-Message-State: AE9vXwPSZshwRYd7jlAiF+nZFWXP9+17jflOoP8xS0mtzqcKJtexqvFMra3l6hwg32BcPrQsl8JGtcgItDzytQ== X-Received: by 10.107.151.11 with SMTP id z11mr11158905iod.28.1473887348060; Wed, 14 Sep 2016 14:09:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.211.199 with HTTP; Wed, 14 Sep 2016 14:08:27 -0700 (PDT) From: John Ousterhout Date: Wed, 14 Sep 2016 14:08:27 -0700 X-Gmail-Original-Message-ID: Message-ID: To: users@dpdk.org X-Spam-Score: -1.0 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin on smtp2.cs.Stanford.EDU X-Scan-Signature: 9dddbef7dbf47a29383c7a3c8e5dce6e Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Redirect DPDK log? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 21:09:10 -0000 Is there a mechanism in DPDK that can interpose on the log output? I see the function rte_openlog_stream to specify a different FILE* for output, but that isn't quite general enough. I'd like for a method in my application to receive all of the log messages, so I can wrap them appropriately and then add them to an application-specific log. Does such a hooking mechanism exist?