comparison MoinMoin/formatter/__init__.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 e06e15e90ba7
comparison
equal deleted inserted replaced
3109:4cd113328476 3110:a48929a5036c
7 @copyright: 2000-2004 by Juergen Hermann <jh@web.de> 7 @copyright: 2000-2004 by Juergen Hermann <jh@web.de>
8 @license: GNU GPL, see COPYING for details. 8 @license: GNU GPL, see COPYING for details.
9 """ 9 """
10 import re 10 import re
11 11
12 from MoinMoin.server import getLogger 12 from MoinMoin import log
13 logging = getLogger(__name__) 13 logging = log.getLogger(__name__)
14
15 # use this to temporarily and selectively enable debug logging for this module
16 #logging.setLevel(logging.DEBUG)
17 14
18 from MoinMoin.util import pysupport 15 from MoinMoin.util import pysupport
19 from MoinMoin import wikiutil 16 from MoinMoin import wikiutil
20 from MoinMoin.support.python_compatibility import rsplit 17 from MoinMoin.support.python_compatibility import rsplit
21 18