Skip to content
Snippets Groups Projects
Commit 03dc606f authored by tewk's avatar tewk
Browse files

changed argv[0] to "slurmd" in task_exec_thread log init

parent 134b2023
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ void * task_exec_thread ( void * arg ) ...@@ -143,7 +143,7 @@ void * task_exec_thread ( void * arg )
case CHILD_PROCCESS: case CHILD_PROCCESS:
/* log init stuff */ /* log init stuff */
snprintf ( log_name , 1024, "%s_%i", launch_msg->argv[0], launch_msg -> global_task_ids[ task_start -> local_task_id ]); snprintf ( log_name , 1024, "%s_%i", "slurmd" , launch_msg -> global_task_ids[ task_start -> local_task_id ]);
log_init( log_name , log_opts_def, SYSLOG_FACILITY_DAEMON, NULL); log_init( log_name , log_opts_def, SYSLOG_FACILITY_DAEMON, NULL);
unblock_all_signals ( ) ; unblock_all_signals ( ) ;
......
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