From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C33FAA0524; Fri, 5 Feb 2021 12:56:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FCB3188A74; Fri, 5 Feb 2021 12:56:05 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 01B144067B for ; Fri, 5 Feb 2021 12:56:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612526163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N4WFFqEdrUl7lG26e3JdclwbVlqjYhJIN5Kx6SZ2Ei4=; b=E+hOns54Ll9dztC8/fDqTGcWXedUy8ABmM1XgjndO9b/aQ50rgbjWDL3Q13wa8Z1X0QouR HtxfIWUWsKfM07lurT2tP8r0+iTkBQvJujZqNtw6jJdvFKb+/iIcQKoGoEsgvKRfSkMF8p CEmU3AsGy8xdkY5Z6DUJvykW4RWhHDQ= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-206-KW0qJJbxNwev0vCxU8crDw-1; Fri, 05 Feb 2021 06:55:59 -0500 X-MC-Unique: KW0qJJbxNwev0vCxU8crDw-1 Received: by mail-vs1-f72.google.com with SMTP id r5so684535vsn.18 for ; Fri, 05 Feb 2021 03:55:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N4WFFqEdrUl7lG26e3JdclwbVlqjYhJIN5Kx6SZ2Ei4=; b=IBigecwf0ISDP1FRmkOlEw5Nsis/JHgC6M5TGYsPcQUJ/kixgd1GsmmZVvhdNzZyMQ 1+pKa++yjkv2uzd9AdPeryBq0tLeGmAmiG/kWEQkcGP6GhnNBTOOuWpup9Eu8MVllD9f +5YTrIUSstplnxx0K+KZiId1V5/f/v47jF4xa2lLckVoimf5sHonGo/sPS0aj4jhvsC7 o9vbUp05V3N4NaG6xhTNpiXqC6omR9iAoGHfQQoOpOt2VCZFhV1So4ytCt8ubDHE7DX2 Cfgwuj6osUDN3uJCm82BIdzEoove1NyTWMHRhcfSIwDjQIo8DZ2MzWKlVYW1b7KSeCL/ pwvw== X-Gm-Message-State: AOAM533z7mfKWbqB6AwC3E3OJjcV0kym3SJhZwZYLetnKveWF6ijep22 sDKf5hnTcBF+LtygTRVnjTtDZrr3qt5smkXSHV7GEUEkg9bZuaQ+a++A4VnozuUMlPomYT3XUWb XjmiuPYGFtXSBDsdSoT0= X-Received: by 2002:a05:6102:3136:: with SMTP id f22mr2737730vsh.17.1612526159172; Fri, 05 Feb 2021 03:55:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMdYU/IQ2xE9oZ6mYeSLkFgI25rKEicdLpGih1PtL1hjztHe4jsmInsKFP3oZFZQCryDmC+Pn6ZBac3NXOEPY= X-Received: by 2002:a05:6102:3136:: with SMTP id f22mr2737728vsh.17.1612526159024; Fri, 05 Feb 2021 03:55:59 -0800 (PST) MIME-Version: 1.0 References: <20210205112433.1681853-1-fengli@smartx.com> In-Reply-To: <20210205112433.1681853-1-fengli@smartx.com> From: David Marchand Date: Fri, 5 Feb 2021 12:55:48 +0100 Message-ID: To: Li Feng Cc: Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , dev , Feng Li Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] log: support custom log function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Feb 5, 2021 at 12:25 PM Li Feng wrote: > > Currently, the dpdk log is out to stdout/stderr and syslog. > We should support to output the log to another please, e.g. file or > glog. Why not use rte_openlog_stream() / rte_log_get_stream() ? -- David Marchand