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/development.ini

    r5689 r5734  
    1313[server:main] 
    1414use = egg:Paste#http 
    15 host = 127.0.0.1 
     15#host = 127.0.0.1 
     16host = 0.0.0.0 
    1617port = 5000 
    1718use_threadpool = True 
     
    6768# Logging configuration 
    6869[loggers] 
    69 keys = root,paste,pylons,routes,cows,geoplot,cows_wms,cows_ows,cows_imps,cows_wcs 
     70keys = root,paste,pylons,routes,cows,geoplot,cows_wms,cows_ows,cows_imps,cows_wcs,wms_request 
    7071 
    7172[handlers] 
    72 keys = console 
     73keys = console, file 
    7374 
    7475[formatters] 
    75 keys = generic 
     76keys = generic, logfile 
    7677 
    7778[logger_root] 
     
    121122qualname = cows.pylons.wcs_controller 
    122123 
    123  
    124124[logger_cows] 
    125125level = INFO 
     
    134134qualname = geoplot 
    135135 
     136[logger_wms_request] 
     137level = DEBUG 
     138handlers = file 
     139propagate = 0 
     140qualname = wms_request 
     141 
    136142[handler_console] 
    137143class = StreamHandler 
     
    140146formatter = generic 
    141147 
     148[handler_file] 
     149class = FileHandler 
     150args = ('./log.txt',) 
     151level = NOTSET 
     152formatter = logfile 
     153 
    142154[formatter_generic] 
    143155format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s 
    144156datefmt = %H:%M:%S 
     157 
     158[formatter_logfile] 
     159format = %(asctime)s %(filename)s: %(message)s 
     160 
Note: See TracChangeset for help on using the changeset viewer.