(project_conf)
| 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 |
no outgoing calls
no test coverage detected