MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / _project_logfile

Method _project_logfile

class/projectModel/pythonModel.py:1589–1596  ·  view source on GitHub ↗
(project_conf)

Source from the content-addressed store, hash-verified

1587
1588 @staticmethod
1589 def _project_logfile(project_conf):
1590 if project_conf["stype"] in ("python", "command"):
1591 log_file = project_conf["logpath"] + "/error.log"
1592 elif project_conf["stype"] == "gunicorn":
1593 log_file = project_conf["logpath"] + "/gunicorn_error.log"
1594 else:
1595 log_file = project_conf["logpath"] + "/uwsgi.log"
1596 return log_file
1597
1598 def GetProjectLog(self, get):
1599 """获取项目日志api

Callers 2

__start_projectMethod · 0.95
GetProjectLogMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected