From d9d16979960056d7c83870f89e16762ecd488bed Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 7 Jan 2008 17:32:45 -0700 Subject: [PATCH] util.log: add levels like UNUSUAL --- src/allmydata/util/log.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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): -- 2.45.2