Ignore:
Timestamp:
24/09/08 15:19:12 (11 years ago)
Author:
spascoe
Message:

Changed print statements to loggging calls where appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/wms_controller.py

    r4163 r4228  
    6464        """ 
    6565        #self.updateSequence = "hello" 
    66         print "loading layers" 
     66        log.debug("loading layers") 
    6767        #print self.layers 
    6868        self.layers = self.layerMapper.map(**kwargs) 
     
    101101        c.capabilities.contents = Contents() 
    102102        for layerName, layer in self.layers.items(): 
    103             print layerName 
     103            log.debug('LayerName: %s' % layerName) 
    104104            log.debug('Loading layer %s' % layerName) 
    105105 
     
    180180 
    181181        """ 
    182         #print self.getOwsParam(paramName) 
    183182        layers = {} 
    184183        layerNames = self.getOwsParam(paramName) 
     
    441440        format = self.getOwsParam('info_format', default='text/html') 
    442441        for layerName, layerObj in layers.iteritems(): 
    443             print format 
    444             print layerObj.title 
    445             print layerObj.featureInfoFormats 
     442            log.debug('Format: %s' % format) 
     443            log.debug('Title: %s' % layerObj.title) 
     444            log.debug('FeatureInfoFormats: %s' % layerObj.featureInfoFormats) 
    446445        if format not in layerObj.featureInfoFormats: 
    447446            raise InvalidParameterValue('Layer %s does not support GetFeatureInfo in format %s' %(layerName, format), 'info_format') 
Note: See TracChangeset for help on using the changeset viewer.