mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1108.1.8 (40ffc44fV2fs0W-8bRw5B0XcBdmAsw)
Add python 2.3 logging to the tree. Only install if not present. Convert xend to use logging.
This commit is contained in:
1 parent
6d88c800d3
commit
5b14d2aca3
63 files changed
+10896
-63
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import logging
|
||||
log = logging.getLogger("MyModule")
|
||||
|
||||
def doIt():
|
||||
log.debug("Doin' stuff...")
|
||||
#do stuff...
|
||||
raise TypeError, "Bogus type error for testing"
|
||||
|
||||