Opened at 2007-05-25T20:06:57Z
Closed at 2009-12-13T04:12:19Z
#58 closed enhancement (wontfix)
logging: also available separately
Reported by: | zooko | Owned by: | warner |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | code-nodeadmin | Version: | 0.2.0 |
Keywords: | logging foolscap | Cc: | |
Launchpad Bug: |
Description
Everybody claims to dislike reinventing the wheel. However, sometimes it turns out that our new wheel design is way better than any of the existing wheels that we can use. So I don't mind improving on wheels, but I really don't like improving on wheels and then not sharing our improved wheel with other people, thus compelling them to reinvent it as well.
So the new logging scheme that Brian is designing should be distributed as a separately packaged module, with minimal dependencies (unless of course it's too much hassle to live without one of our friendly useful dependencies).
It would be fine with me if it were contributed to the package named "pyutil" (or to a newly created package named "allmyutil", or whatever). It's okay if acquiring the cool new logger means downloading a package that also contains other potentially-generally-stuff, but not if it requires downloading Tahoe.
Change History (7)
comment:1 Changed at 2007-05-29T19:50:06Z by warner
comment:2 Changed at 2007-05-30T16:43:38Z by zooko
How does it interact with eventual-sends and remote messages?
comment:3 Changed at 2007-08-14T18:58:00Z by warner
- Component changed from code to code-nodeadmin
comment:4 Changed at 2007-10-10T23:17:31Z by warner
- Milestone set to undecided
comment:5 Changed at 2008-06-01T20:53:19Z by warner
- Milestone changed from eventually to undecided
comment:6 Changed at 2009-12-13T02:14:18Z by davidsarah
- Keywords logging foolscap added
comment:7 Changed at 2009-12-13T04:12:19Z by zooko
- Resolution set to wontfix
- Status changed from new to closed
The logging system we use now is deeply intertwined with foolscap, in so many ways that I can't even being to summarize it here. I continue to feel as I did at the beginning, that we should share our wheels, but there's no way to offer foolscap-logging without foolscap. Maybe the thing to do is to just to advertise foolscap as being "The Most Excellent Way To Do Logging In Your Network Python App (plus it comes with a remote object system too)". ;-)
I'm planning to implement the logging as a part of Foolscap, since it interacts with eventual-sends and remote messages. Also, there will be a foolscap "remote log reader" port. And eventually I hope to implement Causeway-style causality-tracing, which is all very foolscap-dependent.