Changeset 4457 for TI05-delivery


Ignore:
Timestamp:
19/11/08 15:05:50 (11 years ago)
Author:
cbyrom
Message:

Add debug logging options to development.ini

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/development.ini

    r3919 r4457  
    7777 
    7878# Logging configuration 
     79# NB, swap values in logger_root if you want more debug logging  
    7980[loggers] 
    8081keys = root, ows_server, ndg 
    8182 
    8283[handlers] 
    83 keys = console 
     84keys = console, debug_console 
    8485 
    8586[formatters] 
    86 keys = generic 
     87keys = generic, debug 
    8788 
    8889[logger_root] 
    8990level = INFO 
    9091handlers = console 
     92#level = DEBUG 
     93#handlers = debug_console 
    9194 
    9295[logger_ows_server] 
     
    113116formatter = generic 
    114117 
     118[handler_debug_console] 
     119class = StreamHandler 
     120args = (sys.stderr,) 
     121level = DEBUG 
     122formatter = debug 
     123 
    115124[formatter_generic] 
    116125format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s 
    117126datefmt = %H:%M:%S 
    118127 
     128[formatter_debug] 
     129format = %(asctime)s.%(msecs)03d %(filename)s:%(lineno)d %(levelname)s %(message)s 
     130datefmt = %H:%M:%S 
Note: See TracChangeset for help on using the changeset viewer.