From: Brian Warner Date: Tue, 8 Jan 2008 00:32:45 +0000 (-0700) Subject: util.log: add levels like UNUSUAL X-Git-Tag: allmydata-tahoe-0.7.0~15 X-Git-Url: https://git.rkrishnan.org/Site?a=commitdiff_plain;h=d9d16979960056d7c83870f89e16762ecd488bed;p=tahoe-lafs%2Ftahoe-lafs.git util.log: add levels like UNUSUAL --- diff --git a/src/allmydata/util/log.py b/src/allmydata/util/log.py index 11ab3411..7d4d713f 100644 --- a/src/allmydata/util/log.py +++ b/src/allmydata/util/log.py @@ -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):