From 641099040eb502d65c29c086c43aea6aa8962aa7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 12 May 2014 10:21:28 -0700 Subject: [PATCH] scheduler: add log message for beta-test pref, score-based case --- sched/sched_score.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sched/sched_score.cpp b/sched/sched_score.cpp index ac94e09f85..d89cd42ec7 100644 --- a/sched/sched_score.cpp +++ b/sched/sched_score.cpp @@ -67,6 +67,12 @@ bool JOB::get_score(WU_RESULT& wu_result) { if (g_wreq->allow_beta_work) { score += 1; } else { + if (config.debug_send) { + log_messages.printf(MSG_NORMAL, + "[send] can't send job %d for beta app to non-beta user\n", + wu_result.workunit.id + ); + } return false; } }