Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact atlas_admin@aei.mpg.de

Unverified Commit 4310a2a6 authored by Rytis Slatkevičius's avatar Rytis Slatkevičius Committed by GitHub

Add sched_op debug flag tag to log messages

[sched_op] tag was missing for some debug messages. Fixes #3360.
parent e1164f2a
......@@ -465,7 +465,7 @@ bool CLIENT_STATE::scheduler_rpc_poll() {
p = next_project_sched_rpc_pending();
if (p) {
if (log_flags.sched_op_debug) {
msg_printf(p, MSG_INFO, "sched RPC pending: %s",
msg_printf(p, MSG_INFO, "[sched_op] sched RPC pending: %s",
rpc_reason_string(p->sched_rpc_pending)
);
}
......@@ -664,7 +664,7 @@ int CLIENT_STATE::handle_scheduler_reply(
if (log_flags.sched_op_debug && sr.request_delay) {
msg_printf(project, MSG_INFO,
"Project requested delay of %.0f seconds", sr.request_delay
"[sched_op] Project requested delay of %.0f seconds", sr.request_delay
);
}
......@@ -690,7 +690,7 @@ int CLIENT_STATE::handle_scheduler_reply(
if (gstate.acct_mgr_info.using_am() && p && q && !strcmp(p, q)) {
if (log_flags.sched_op_debug) {
msg_printf(project, MSG_INFO,
"ignoring prefs from project; using prefs from AM"
"[sched_op] ignoring prefs from project; using prefs from AM"
);
}
} else if (!global_prefs.host_specific || sr.scheduler_version >= 507) {
......@@ -707,7 +707,7 @@ int CLIENT_STATE::handle_scheduler_reply(
} else {
if (log_flags.sched_op_debug) {
msg_printf(project, MSG_INFO,
"ignoring prefs from old server; we have host-specific prefs"
"[sched_op] ignoring prefs from old server; we have host-specific prefs"
);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment