File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ def get_log_file_path(self, file_name='launch.log'):
322
322
file_name = self .file_name
323
323
return os .path .join (self .log_dir , file_name )
324
324
325
- def get_log_file_handler (self , file_name = 'launch.log' ):
325
+ def get_log_file_handler (self , file_name = None ):
326
326
"""
327
327
Get the logging handler to a log file.
328
328
@@ -333,6 +333,8 @@ def get_log_file_handler(self, file_name='launch.log'):
333
333
:return: the logging handler associated to the file (always the same
334
334
once constructed).
335
335
"""
336
+ if file_name is None :
337
+ file_name = self .file_name
336
338
if file_name not in self .file_handlers :
337
339
file_path = self .get_log_file_path (file_name )
338
340
factory = self .log_handler_factory
You can’t perform that action at this time.
0 commit comments