aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-08-10 20:47:07 +0000
committerlloyd <[email protected]>2009-08-10 20:47:07 +0000
commitde6475388c56e0fd62e1029288e71a275be349ad (patch)
tree467faa0b14e7cf6c3e3cb2630a769165d974c2ed
parent13529ec2ea537588e4778697251370cea95d176d (diff)
Add the levelname to the log output of configure.py
Add a comment nothing that Python <= 2.3 is not supported
-rwxr-xr-xconfigure.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 92bde789d..5d7d6dd19 100755
--- a/configure.py
+++ b/configure.py
@@ -9,6 +9,8 @@ Tested with
CPython 2.4, 2.5, 2.6 - OK
Jython 2.5 - Target detection does not work (use --os and --cpu)
+ CPython 2.3 and earlier are not supported
+
Has not been tested with IronPython or PyPy
"""
@@ -971,7 +973,8 @@ def main(argv = None):
if argv is None:
argv = sys.argv
- logging.basicConfig(stream = sys.stdout, format = '%(message)s',
+ logging.basicConfig(stream = sys.stdout,
+ format = '%(levelname) 7s: %(message)s',
level = logging.INFO)
logging.debug('%s invoked with options "%s"' % (