소스 검색

more debugging info

Jachym Cepicky 13 년 전
부모
커밋
6a4a2e4222
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      OWS.py

+ 2 - 0
OWS.py

@@ -195,9 +195,11 @@ class OWS:
             # there is 'map' parameter in URL BUT the file does not exist:
             # create
             else:
+                logging.debug("Mapfile not found: creating new mapfile")
                 mapobj = self.makeMap(request.getValueByName("map"))
 
         # mapobj.getLayerByName(request.getValueByName("layers")).metadata.get("wfs_filter")
+        logging.debug("Calling OWSDispatch")
         res = mapobj.OWSDispatch(request)
         if mapscript.MS_DONE == res:
             raise OWSExceptions.NoValidRequest("No valid OWS Request")