comparison wiki/server/moinmodpy.py @ 3111:79f850129782

logging: fix server scripts to load logging config, fix logging configs
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Feb 2008 14:01:08 +0100
parents 80e1a910a2f1
children cd43bbf56c33
comparison
equal deleted inserted replaced
3110:a48929a5036c 3111:79f850129782
46 46
47 # Debug mode - show detailed error reports 47 # Debug mode - show detailed error reports
48 ## import os 48 ## import os
49 ## os.environ['MOIN_DEBUG'] = '1' 49 ## os.environ['MOIN_DEBUG'] = '1'
50 50
51 from MoinMoin import log
52 log.load_config('.../wiki/config/logging/conffile') # XXX fix path
53
51 # Simple way 54 # Simple way
52 #from MoinMoin.server.server_modpython import modpythonHandler as handler 55 #from MoinMoin.server.server_modpython import modpythonHandler as handler
53 56
54 # Complex way 57 # Complex way
55 from MoinMoin.server.server_modpython import ModpythonConfig, modpythonHandler 58 from MoinMoin.server.server_modpython import ModpythonConfig, modpythonHandler