We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7006931 commit 46082dfCopy full SHA for 46082df
launch/launch/launch_service.py
@@ -56,7 +56,7 @@ def __init__(
56
argv: Optional[Iterable[Text]] = None,
57
noninteractive: bool = False,
58
debug: bool = False,
59
- log_file_name: Optional[Text] = None
+ log_file_name = 'launch'
60
) -> None:
61
"""
62
Create a LaunchService.
@@ -69,8 +69,6 @@ def __init__(
69
# Setup logging and debugging.
70
launch.logging.launch_config.level = logging.DEBUG if debug else logging.INFO
71
self._log_file_name = log_file_name
72
- if self._log_file_name is None:
73
- self._log_file_name = 'launch'
74
# Ensure the log file name ends with `.log`
75
if not self._log_file_name.endswith('.log'):
76
self._log_file_name += '.log'
0 commit comments