Skip to content

Commit

Permalink
Remove plugin-related messages temporarily (#291)
Browse files Browse the repository at this point in the history
This addresses issue #109 temporarily by commenting out print messages.

The feature that supports specifying a log level in runtime would be implemented as a separate PR:
- #292

Address #109 

Signed-off-by: Gigon Bae <gbae@nvidia.com>

Authors:
  - Gigon Bae (/~https://github.com/gigony)

Approvers:
  - Gregory Lee (/~https://github.com/grlee77)
  - /~https://github.com/jakirkham

URL: #291
  • Loading branch information
gigony authored Jun 1, 2022
1 parent db7c03c commit 596bc0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/src/core/cucim_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ bool Plugin::try_load(int version, bool full)
return false;
}
// Load library
CUCIM_LOG_VERBOSE("[Plugin: %s] Loading the dynamic library from: %s", name_cstr(), lib_file.c_str());
// CUCIM_LOG_VERBOSE("[Plugin: %s] Loading the dynamic library from: %s", name_cstr(), lib_file.c_str());
library_handle_ = dynlib::load_library(lib_file.c_str());

if (!library_handle_)
Expand Down Expand Up @@ -339,7 +339,7 @@ void Plugin::unload()
dynlib::unload_library(library_handle_);
library_handle_ = nullptr;
is_loaded_ = false;
CUCIM_LOG_VERBOSE("[Plugin: %s] Unloaded.", name_cstr());
// CUCIM_LOG_VERBOSE("[Plugin: %s] Unloaded.", name_cstr());
}
}

Expand Down Expand Up @@ -395,8 +395,8 @@ bool Plugin::initialize()
return false;
}

CUCIM_LOG_INFO("Initializing plugin: %s (interfaces: %s) (impl: %s)", name_cstr(), CSTR(get_interfaces()),
CSTR(get_impl_desc()));
// CUCIM_LOG_INFO("Initializing plugin: %s (interfaces: %s) (impl: %s)", name_cstr(), CSTR(get_interfaces()),
// CSTR(get_impl_desc()));

is_in_initialization_ = true;

Expand Down

0 comments on commit 596bc0c

Please sign in to comment.