diff MoinMoin/failure.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 24bfe5789665
children cd6cfc715261
line wrap: on
line diff
--- a/MoinMoin/failure.py	Sun Feb 24 12:50:54 2008 +0100
+++ b/MoinMoin/failure.py	Mon Feb 25 03:41:39 2008 +0100
@@ -6,7 +6,10 @@
     @copyright: 2004-2005 Nir Soffer <nirs@freeshell.org>
     @license: GNU GPL, see COPYING for details.
 """
-import sys, os, logging
+import sys, os
+
+from MoinMoin import log
+logging = log.getLogger(__name__)
 
 from MoinMoin.support import cgitb
 from MoinMoin.error import ConfigurationError