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

Augment sbcast logging.

parent 67c3d161
No related branches found
No related tags found
No related merge requests found
...@@ -129,14 +129,14 @@ extern void parse_command_line(int argc, char *argv[]) ...@@ -129,14 +129,14 @@ extern void parse_command_line(int argc, char *argv[])
/* print the parameters specified */ /* print the parameters specified */
void _print_options( void ) void _print_options( void )
{ {
printf("-----------------------------\n"); info("-----------------------------");
printf("compress = %s\n", params.compress ? "true" : "false"); info("compress = %s", params.compress ? "true" : "false");
printf("force = %s\n", params.force ? "true" : "false"); info("force = %s", params.force ? "true" : "false");
printf("preserve = %s\n", params.preserve ? "true" : "false"); info("preserve = %s", params.preserve ? "true" : "false");
printf("verbose = %d\n", params.verbose); info("verbose = %d", params.verbose);
printf("source = %s\n", params.src_fname); info("source = %s", params.src_fname);
printf("dest = %s\n", params.dst_fname); info("dest = %s", params.dst_fname);
printf("-----------------------------\n"); info("-----------------------------");
} }
......
...@@ -110,6 +110,7 @@ static void _get_job_info(void) ...@@ -110,6 +110,7 @@ static void _get_job_info(void)
exit(1); exit(1);
} }
jobid = (uint32_t) atol(jobid_str); jobid = (uint32_t) atol(jobid_str);
verbose("jobid = %u", jobid);
if (slurm_allocation_lookup(jobid, &alloc_resp) != SLURM_SUCCESS) { if (slurm_allocation_lookup(jobid, &alloc_resp) != SLURM_SUCCESS) {
error("SLURM jobid %u lookup error: %s", error("SLURM jobid %u lookup error: %s",
......
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