5ebf83784d
Initialize logging on Windows to send log output to the console. Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com> Reviewed-by: Ranjit Menon <ranjit.menon@intel.com> Reviewed-by: Tasnim Bashar <tbashar@mellanox.com> Tested-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Tested-by: Narcisa Vasile <navasile@linux.microsoft.com> Acked-by: Narcisa Vasile <navasile@linux.microsoft.com>
17 lines
340 B
C
17 lines
340 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2017-2018 Intel Corporation
|
|
*/
|
|
|
|
#include "eal_private.h"
|
|
|
|
/* set the log to default function, called during eal init process. */
|
|
int
|
|
rte_eal_log_init(__rte_unused const char *id, __rte_unused int facility)
|
|
{
|
|
rte_openlog_stream(stderr);
|
|
|
|
eal_log_set_default(stderr);
|
|
|
|
return 0;
|
|
}
|