Skip to content

Commit

Permalink
suppress legacy log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kuron99 committed Nov 1, 2024
1 parent 38b3219 commit cf6b9b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/jogasaki/executor/process/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ task::task(
{}

model::task_result task::operator()() {
VLOG_LP(log_debug) << *this << " process::task executed.";
if(auto&& cb = step()->did_start_task(); cb) {
callback_arg arg{ id() };
(*cb)(&arg);
Expand All @@ -59,12 +58,10 @@ model::task_result task::operator()() {
auto status = executor_->run();
switch (status) {
case abstract::status::completed:
VLOG_LP(log_debug) << *this << " process::task completed.";
// raise appropriate event if needed
common::send_event(*context(), event_enum_tag<event_kind::task_completed>, step()->id(), id());
break;
case abstract::status::completed_with_errors:
VLOG_LP(log_warning) << *this << " task completed with errors";
// raise appropriate event if needed
common::send_event(*context(), event_enum_tag<event_kind::task_completed>, step()->id(), id());
break;
Expand All @@ -74,7 +71,6 @@ model::task_result task::operator()() {
fail_with_exception();
break;
case abstract::status::to_yield:
VLOG_LP(log_warning) << *this << " process::task to_yield.";
break;
default:
fail_with_exception();
Expand Down
2 changes: 1 addition & 1 deletion src/jogasaki/plan/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ std::shared_ptr<executor::process::impl::variable_table> create_host_variables(
auto target = vars->store().ref();
for(auto& [name, e] : *parameters) {
if(! info->exists(name)) {
VLOG_LP(log_warning) << "Parameter '" << name << "' is passed but not used by the statement";
VLOG_LP(log_debug) << "Parameter '" << name << "' is passed but not used by the statement";
continue;
}
auto os = info->at(name);
Expand Down

0 comments on commit cf6b9b3

Please sign in to comment.