Skip to content

Commit

Permalink
Cleanup some verbose logging in the scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Jan 26, 2024
1 parent 120e503 commit 38684d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/kernel/src/tasks/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ impl Task {
None
}
Err(e) => {
warn!(task_id = ?task.task_id, "Channel closed: {:?}", e);
trace!(task_id = ?task.task_id, "Channel closed: {:?}", e);
task.done = true;

break;
Expand Down
4 changes: 2 additions & 2 deletions crates/kernel/src/tasks/vm_host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl VmHost {
return VMHostResponse::SuspendNeedInput;
}
ExecutionResult::Complete(a) => {
info!(task_id, "Task completed");
trace!(task_id, "Task completed");
return VMHostResponse::CompleteSuccess(a);
}
ExecutionResult::Exception(fr) => {
Expand Down Expand Up @@ -353,7 +353,7 @@ impl VmHost {
}

pub fn stop(&mut self) {
info!(task_id = self.vm_exec_state.task_id, "Stopping VMHost");
trace!(task_id = self.vm_exec_state.task_id, "Stopping VMHost");
self.running = false;
}

Expand Down

0 comments on commit 38684d7

Please sign in to comment.