[Python-checkins] r46989 - python/branches/hoxworth-stdlib_logging-soc/test_stdliblogging.py

jackilyn.hoxworth python-checkins at python.org
Fri Jun 16 02:49:49 CEST 2006


Author: jackilyn.hoxworth
Date: Fri Jun 16 02:49:49 2006
New Revision: 46989

Added:
   python/branches/hoxworth-stdlib_logging-soc/test_stdliblogging.py
Log:
Added a file remotely, not correct/complete

Added: python/branches/hoxworth-stdlib_logging-soc/test_stdliblogging.py
==============================================================================
--- (empty file)
+++ python/branches/hoxworth-stdlib_logging-soc/test_stdliblogging.py	Fri Jun 16 02:49:49 2006
@@ -0,0 +1,14 @@
+# !/usr/bin/env python
+
+""" 
+Test harness for the standard library logging module.
+This does not work at all (I don't know what I'm doing).
+"""
+
+import logging, asyncore
+
+logging.basicConfig()
+
+log = logging.getLogger("py.asyncore")
+log.setLevel(logging.DEBUG)     # The level is set to DEBUG so nothing will be ignored
+


More information about the Python-checkins mailing list