comparison MoinMoin/config/multiconfig.py @ 3110:a48929a5036c

logging: make it work correctly by doing logging configuration very early
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Feb 2008 03:41:39 +0100
parents c6e39279f83b
children cd6cfc715261
comparison
equal deleted inserted replaced
3109:4cd113328476 3110:a48929a5036c
10 import re 10 import re
11 import os 11 import os
12 import sys 12 import sys
13 import time 13 import time
14 14
15 from MoinMoin.server import getLogger 15 from MoinMoin import log
16 logging = getLogger(__name__) 16 logging = log.getLogger(__name__)
17
18 # use this to temporarily and selectively enable debug logging for this module
19 #logging.setLevel(logging.DEBUG)
20 17
21 from MoinMoin import config, error, util, wikiutil 18 from MoinMoin import config, error, util, wikiutil
22 import MoinMoin.auth as authmodule 19 import MoinMoin.auth as authmodule
23 import MoinMoin.events as events 20 import MoinMoin.events as events
24 from MoinMoin.events import PageChangedEvent, PageRenamedEvent 21 from MoinMoin.events import PageChangedEvent, PageRenamedEvent