Skip to content
Snippets Groups Projects
Commit 09e2a753 authored by Moe Jette's avatar Moe Jette
Browse files

Make logging of job id a debug option except for batch jobs.

parent bfd8f813
No related branches found
No related tags found
No related merge requests found
...@@ -803,7 +803,7 @@ _unpack_resource_allocation_response_msg(resource_allocation_response_msg_t ...@@ -803,7 +803,7 @@ _unpack_resource_allocation_response_msg(resource_allocation_response_msg_t
} else } else
tmp_ptr->node_addr = NULL; tmp_ptr->node_addr = NULL;
info("job id is %u", tmp_ptr->job_id); debug("job id is %u", tmp_ptr->job_id);
return SLURM_SUCCESS; return SLURM_SUCCESS;
unpack_error: unpack_error:
......
...@@ -177,8 +177,6 @@ main(int ac, char **av) ...@@ -177,8 +177,6 @@ main(int ac, char **av)
job = job_create(resp); job = job_create(resp);
if (_verbose || _debug) if (_verbose || _debug)
_print_job_information(resp); _print_job_information(resp);
else
printf("jobid %u\n", resp->job_id);
_run_job_script(resp->job_id); _run_job_script(resp->job_id);
slurm_complete_job(resp->job_id, 0, 0); slurm_complete_job(resp->job_id, 0, 0);
...@@ -190,8 +188,6 @@ main(int ac, char **av) ...@@ -190,8 +188,6 @@ main(int ac, char **av)
exit(1); exit(1);
if (_verbose || _debug) if (_verbose || _debug)
_print_job_information(resp); _print_job_information(resp);
else
printf("jobid %u\n", resp->job_id);
job = job_create(resp); job = job_create(resp);
_create_job_step(job); _create_job_step(job);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment