We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5334f commit 2007297Copy full SHA for 2007297
launch/launch/logging/__init__.py
@@ -336,9 +336,8 @@ def get_log_file_handler(self):
336
once constructed).
337
"""
338
if self.log_file_name not in self.file_handlers:
339
- log_file_path = self.get_log_file_path()
340
factory = self.log_handler_factory
341
- file_handler = factory(log_file_path, encoding='utf-8')
+ file_handler = factory(self.get_log_file_path(), encoding="utf-8")
342
file_handler.setFormatter(self.file_formatter)
343
self.file_handlers[self.log_file_name] = file_handler
344
return self.file_handlers[self.log_file_name]
0 commit comments