- client: don't prefix <task> messages with [task]

This commit is contained in:
David Anderson 2013-04-02 12:31:32 -07:00
parent 6e3cdfc7e8
commit 1b9ad86694
2 changed files with 5 additions and 5 deletions

View File

@ -1001,7 +1001,7 @@ static inline bool more_important(RESULT* r0, RESULT* r1) {
if (!unfin0 && unfin1) return false;
// favor jobs selected first by schedule_cpus()
// (e.g., because their project has high STD)
// (e.g., because their project has high sched priority)
//
if (r0->seqno < r1->seqno) return true;
if (r0->seqno > r1->seqno) return false;

View File

@ -311,12 +311,12 @@ int CLIENT_STATE::check_suspend_processing() {
if (old_gpu_suspend_reason && !gpu_suspend_reason) {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO, "[task] Resuming GPU computation");
msg_printf(NULL, MSG_INFO, "Resuming GPU computation");
}
request_schedule_cpus("GPU resumption");
} else if (!old_gpu_suspend_reason && gpu_suspend_reason) {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO, "[task] Suspending GPU computation - %s",
msg_printf(NULL, MSG_INFO, "Suspending GPU computation - %s",
suspend_reason_string(gpu_suspend_reason)
);
}
@ -335,7 +335,7 @@ int CLIENT_STATE::suspend_tasks(int reason) {
} else {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO,
"[task] Suspending computation - %s",
"Suspending computation - %s",
suspend_reason_string(reason)
);
}
@ -352,7 +352,7 @@ int CLIENT_STATE::resume_tasks(int reason) {
active_tasks.unsuspend_all();
} else {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO, "[task] Resuming computation");
msg_printf(NULL, MSG_INFO, "Resuming computation");
}
active_tasks.unsuspend_all();
request_schedule_cpus("Resuming computation");