projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083ab72
)
util.log: add levels like UNUSUAL
author
Brian Warner
<warner@allmydata.com>
Tue, 8 Jan 2008 00:32:45 +0000
(17:32 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 8 Jan 2008 00:32:45 +0000
(17:32 -0700)
src/allmydata/util/log.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/log.py
b/src/allmydata/util/log.py
index 11ab3411ac5125e08cc3a59120ac311a9f21a83d..7d4d713f7493fb3f496b735617505a24b58595da 100644
(file)
--- 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):