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/csmlwcs.py

    r5403 r5734  
    44from cows.pylons.wcs_controller import WCSController 
    55 
     6from wms_ddc_vis.lib.wms_request_log_utils import buildLogString, wms_request_logger 
     7 
    68log = logging.getLogger(__name__) 
    79 
    810class CsmlwcsController(WCSController): 
    911    layerMapper=CSMLwcsCoverageMapper() 
     12 
     13    def __before__(self, **kwargs): 
     14        wms_request_logger.info( buildLogString(request) ) 
     15        WMSController.__before__(self, **kwargs) 
Note: See TracChangeset for help on using the changeset viewer.