comparison MoinMoin/config/multiconfig.py @ 3107:c6e39279f83b

refactor logging usage
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 22:59:30 +0100
parents a94959a2aae7
children a48929a5036c
comparison
equal deleted inserted replaced
3106:af3dd2bc85cc 3107:c6e39279f83b
9 9
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 import logging 14
15 from MoinMoin.server import getLogger
16 logging = getLogger(__name__)
17
18 # use this to temporarily and selectively enable debug logging for this module
19 #logging.setLevel(logging.DEBUG)
15 20
16 from MoinMoin import config, error, util, wikiutil 21 from MoinMoin import config, error, util, wikiutil
17 import MoinMoin.auth as authmodule 22 import MoinMoin.auth as authmodule
18 import MoinMoin.events as events 23 import MoinMoin.events as events
19 from MoinMoin.events import PageChangedEvent, PageRenamedEvent 24 from MoinMoin.events import PageChangedEvent, PageRenamedEvent