]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
util.log: add levels like UNUSUAL
authorBrian Warner <warner@allmydata.com>
Tue, 8 Jan 2008 00:32:45 +0000 (17:32 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 8 Jan 2008 00:32:45 +0000 (17:32 -0700)
src/allmydata/util/log.py

index 11ab3411ac5125e08cc3a59120ac311a9f21a83d..7d4d713f7493fb3f496b735617505a24b58595da 100644 (file)
@@ -2,6 +2,16 @@
 from foolscap.logging import log
 from twisted.python import failure
 
+NOISY = log.NOISY # 10
+OPERATIONAL = log.OPERATIONAL # 20
+UNUSUAL = log.UNUSUAL # 23
+INFREQUENT = log.INFREQUENT # 25
+CURIOUS = log.CURIOUS # 28
+WEIRD = log.WEIRD # 30
+SCARY = log.SCARY # 35
+BAD = log.BAD # 40
+
+
 msg = log.msg
 
 def err(f=None, **kwargs):