Ignore:
Timestamp:
21/06/07 09:51:16 (13 years ago)
Author:
spascoe
Message:

Added more logging. Requests are now logged and OWSExceptions are
logged as well as triggering an XML response. Requests to WMS/GetMap don't
trigger the debugger because it screws up openlayers.

Some changes to routes to make csml_api work again. No doubt this will change
when we have Exist plumbed in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/middleware.py

    r2616 r2629  
    1616from ows_server.config.ndgMiddleware import ndgMiddleware 
    1717 
    18 import logging 
     18# Logging doesn't need configuring if you have paste.translogger in your config file. 
     19#import logging 
    1920 
    2021def make_app(global_conf, full_stack=True, **app_conf): 
     
    5051    g=app.globals 
    5152     
    52  
    5353    # Configure logging 
    54     
    55     logging.basicConfig(format='%(thread)s %(name)s %(levelname)s %(message)s') 
     54    #logging.basicConfig(format='%(thread)s %(name)s %(levelname)s %(message)s') 
    5655     
    5756    # If errror handling and exception catching will be handled by middleware 
Note: See TracChangeset for help on using the changeset viewer.