diff --git a/lib/event/app.c b/lib/event/app.c index ca43561e37..56bd3db748 100644 --- a/lib/event/app.c +++ b/lib/event/app.c @@ -366,7 +366,7 @@ spdk_app_start(struct spdk_app_opts *opts, spdk_event_fn start_fn, spdk_env_init(&env_opts); - printf("Total cores available: %d\n", spdk_env_get_core_count()); + SPDK_NOTICELOG("Total cores available: %d\n", spdk_env_get_core_count()); /* * If mask not specified on command line or in configuration file, diff --git a/lib/event/reactor.c b/lib/event/reactor.c index b6052b4234..2ebb543685 100644 --- a/lib/event/reactor.c +++ b/lib/event/reactor.c @@ -658,7 +658,7 @@ spdk_reactors_init(unsigned int max_delay_us) char mempool_name[32]; socket_mask = spdk_reactor_get_socket_mask(); - printf("Occupied cpu socket mask is 0x%lx\n", socket_mask); + SPDK_NOTICELOG("Occupied cpu socket mask is 0x%lx\n", socket_mask); for (i = 0; i < SPDK_MAX_SOCKET; i++) { if ((1ULL << i) & socket_mask) { @@ -666,7 +666,7 @@ spdk_reactors_init(unsigned int max_delay_us) } } if (socket_count == 0) { - printf("No sockets occupied (internal error)\n"); + SPDK_ERRLOG("No sockets occupied (internal error)\n"); return -1; }