Skip to content

Commit

Permalink
qmanager: avoid excessive INFO level for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dongahn committed Jul 8, 2019
1 parent 9436e92 commit f37fa90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qmanager/modules/qmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ extern "C" void jobmanager_alloc_cb (flux_t *h, const flux_msg_t *msg,
ctx->queue->insert (job);

if (ctx->queue->run_sched_loop ((void *)ctx->h, true) < 0) {
flux_log (ctx->h, LOG_INFO,
flux_log (ctx->h, LOG_DEBUG,
"%s: return code < 0 from schedule loop", __FUNCTION__);
}
while ((job = ctx->queue->alloced_pop ()) != nullptr) {
flux_log (ctx->h, LOG_INFO, "jobid (%ju): %s",
flux_log (ctx->h, LOG_DEBUG, "jobid (%ju): %s",
(intmax_t)job->id, job->schedule.R.c_str ());
if (schedutil_alloc_respond_R (ctx->h, job->msg,
job->schedule.R.c_str (), NULL) < 0) {
Expand Down Expand Up @@ -122,14 +122,14 @@ extern "C" void jobmanager_free_cb (flux_t *h, const flux_msg_t *msg,
return;
}
if (ctx->queue->run_sched_loop ((void *)ctx->h, true) < 0) {
flux_log (ctx->h, LOG_INFO,
flux_log (ctx->h, LOG_DEBUG,
"%s: return code < 0 from schedule loop", __FUNCTION__);
}
if (schedutil_free_respond (h, msg) < 0) {
flux_log_error (h, "%s: schedutil_free_respond", __FUNCTION__);
}
while ((job = ctx->queue->alloced_pop ()) != nullptr) {
flux_log (ctx->h, LOG_INFO, "jobid (%ju): %s",
flux_log (ctx->h, LOG_DEBUG, "jobid (%ju): %s",
(intmax_t)job->id, job->schedule.R.c_str ());
if (schedutil_alloc_respond_R (ctx->h, job->msg,
job->schedule.R.c_str (), NULL) < 0) {
Expand Down

0 comments on commit f37fa90

Please sign in to comment.