comparison wiki/server/moin.wsgi @ 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 8d21b13482e3
children c6e39279f83b
comparison
equal deleted inserted replaced
3102:a78bf6977df8 3105:80e1a910a2f1
37 import logging 37 import logging
38 38
39 from MoinMoin.server.server_wsgi import WsgiConfig, moinmoinApp 39 from MoinMoin.server.server_wsgi import WsgiConfig, moinmoinApp
40 40
41 class Config(WsgiConfig): 41 class Config(WsgiConfig):
42 logPath = 'moin.log' # adapt this to your needs! 42 pass
43 #loglevel_file = logging.INFO # adapt if you don't like the default
44 43
45 config = Config() # MUST create an instance to init logging! 44 config = Config() # MUST create an instance to init logging!
46 45
47 application = moinmoinApp 46 application = moinmoinApp
48 47