Ignore:
Timestamp:
18/09/09 09:47:28 (10 years ago)
Author:
pnorton
Message:

Added some wms request logging that writes the parameeters and the header information to a file. Hopefully this will enable statistics to be generated on the data usage.

Also made some changes to the demo page so that it works in IE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/csmlwms2.py

    r5494 r5734  
    33from cows.pylons.wms_controller import WMSController 
    44from cows.service.imps.csmlbackend.wms_csmllayer import CSMLwmsLayerMapper 
     5 
     6from wms_ddc_vis.lib.wms_request_log_utils import buildLogString, wms_request_logger 
    57 
    68log = logging.getLogger(__name__) 
     
    1012 
    1113     
     14    def __before__(self, **kwargs): 
     15        wms_request_logger.info( buildLogString(request) ) 
     16        WMSController.__before__(self, **kwargs) 
    1217 
    1318 
    1419 
    15  
Note: See TracChangeset for help on using the changeset viewer.