소스 검색

Log errors to server error log.

Chris McDonough 18 년 전
부모
커밋
78b5d8683d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/supervisor/http.py

+ 1 - 1
src/supervisor/http.py

@@ -445,7 +445,7 @@ class deferring_http_channel(http_server.http_channel):
                         self.server.exceptions.increment()
                         (file, fun, line), t, v, tbinfo = \
                                asyncore.compact_traceback()
-                        self.log_info(
+                        self.server.log_info(
                             'Server Error: %s, %s: file: %s line: %s' %
                             (t,v,file,line),
                             'error')