2
CherryPy服務器將錯誤日誌寫入哪裏?我已經安裝了CherryPy的,並與python3.2CherryPy服務器錯誤日誌
from cherrypy import wsgiserver
def my_crazy_app(environ, start_response):
status = '200 OK'
response_headers = [("Content-type","text/plain")]
start_response(status, response_headers)
return ['Hello world!']
server = wsgiserver.CherryPyWSGIServer(
('0.0.0.0', 80), my_crazy_app,
server_name='www.cherrypy.example')
server.start()
發射了服務器當我去到URL頁面沒有加載和打印沒有錯誤。