comparison MoinMoin/server/server_modpython.py @ 3105:80e1a910a2f1

make logging more configurable and flexible, packages/modules shall call MoinMoin.server.getLogger
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 21:43:47 +0100
parents 103fd9035d50
children cd43bbf56c33
comparison
equal deleted inserted replaced
3102:a78bf6977df8 3105:80e1a910a2f1
34 # Server globals 34 # Server globals
35 config = None 35 config = None
36 36
37 class ModpythonConfig(Config): 37 class ModpythonConfig(Config):
38 """ Set up default server """ 38 """ Set up default server """
39
40 logPath = None
41 properties = {} 39 properties = {}
42 40
43 # Set up log handler to log to apache log! 41 # Set up log handler to log to apache log!
44 42
45 def modpythonHandler(request, ConfigClass=ModpythonConfig): 43 def modpythonHandler(request, ConfigClass=ModpythonConfig):