@@ -3921,7 +3921,6 @@ struct vine_manager *vine_ssl_create(int port, const char *key, const char *cert
3921
3921
cctools_uuid_t local_uuid ;
3922
3922
cctools_uuid_create (& local_uuid );
3923
3923
q -> uuid = strdup (local_uuid .str );
3924
- q -> duplicated_libraries = 0 ;
3925
3924
3926
3925
q -> next_task_id = 1 ;
3927
3926
q -> fixed_location_in_queue = 0 ;
@@ -4723,8 +4722,6 @@ struct vine_task *send_library_to_worker(struct vine_manager *q, struct vine_wor
4723
4722
if (!check_worker_against_task (q , w , original )) {
4724
4723
return 0 ;
4725
4724
}
4726
- /* Track the number of duplicated libraries */
4727
- q -> duplicated_libraries += 1 ;
4728
4725
4729
4726
/* Duplicate the original task */
4730
4727
struct vine_task * t = vine_task_copy (original );
@@ -4736,7 +4733,7 @@ struct vine_task *send_library_to_worker(struct vine_manager *q, struct vine_wor
4736
4733
/* If watch-library-logfiles is tuned, watch the output file of every duplicated library instance */
4737
4734
if (q -> watch_library_logfiles ) {
4738
4735
char * remote_stdout_filename = string_format (".taskvine.stdout" );
4739
- char * local_library_log_filename = string_format ("library-%d.debug. log" , q -> duplicated_libraries );
4736
+ char * local_library_log_filename = string_format ("library-task- %d.log" , t -> task_id );
4740
4737
t -> library_log_path = vine_get_path_library_log (q , local_library_log_filename );
4741
4738
4742
4739
struct vine_file * library_local_stdout_file = vine_declare_file (q , t -> library_log_path , VINE_CACHE_LEVEL_TASK , 0 );
0 commit comments