MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / get_log_path

Method get_log_path

src/gui_controller.py:232–235  ·  view source on GitHub ↗

Get the path to the puppet log file.

(self)

Source from the content-addressed store, hash-verified

230 return self.process is not None and self.process.poll() is None
231
232 def get_log_path(self):
233 """Get the path to the puppet log file."""
234 project_root = os.path.dirname(os.path.dirname(self.main_py))
235 return os.path.join(project_root, "puppet.log")
236
237 def flush_log(self):
238 """Flush the log file to ensure all output is written."""

Callers 2

stop_puppetMethod · 0.95
_on_process_diedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected