File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,6 @@ def get_output_loggers(process_name, output_config):
490
490
# If a 'log' output is configured for this source or for
491
491
# 'both' sources, this logger should output to launch main log file.
492
492
if 'log' in (output_config ['both' ] | output_config [source ]):
493
- launch_config .log_file_name = 'launch.log'
494
493
launch_log_file_handler = launch_config .get_log_file_handler ()
495
494
# Add launch main log file handler if necessary.
496
495
if launch_log_file_handler not in logger .handlers :
@@ -517,6 +516,9 @@ def get_output_loggers(process_name, output_config):
517
516
# Add combined log file handler if necessary.
518
517
if combined_log_file_handler not in logger .handlers :
519
518
logger .addHandler (combined_log_file_handler )
519
+
520
+ # Reset log file name since we will iterate over the sources
521
+ launch_config ._log_file_name = None
520
522
# Retrieve both loggers.
521
523
return (
522
524
logging .getLogger (process_name + '-stdout' ),
You can’t perform that action at this time.
0 commit comments