RE: Logging package
"Adam Rifkin" <[email protected]> Tue, 22 Jul 2003 21:50:22 -0700
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, I've checked the logging package into CVS. I wrote a little test that uses it and it appears to work with Python 1.5+ on Linux. (And if it runs on Linux, it runs on everything, right? :) Ok, so now I have to figure out how to port the pubsub.py logging code to the new logger, both for the normal log and the error log... Baby steps, Adam -----Original Message----- From: Adam Rifkin Sent: Tue 7/22/2003 11:47 AM To: [email protected] Subject: RE: [Mod-pubsub-developer] Logging package Well, we could just bundle it with the mod_pubsub package. We do that with other Python libraries that aren't necessarily part of the standard Python distribution... Unless it counts on features of the Python 2.3 language. But on first glance, that doesn't appear to be the case. Am I wrong? Adam -----Original Message----- From: Joyce Park [mailto:[email protected]] Sent: Tue 7/22/2003 9:41 AM To: Adam Rifkin; Robert Leftwich; [email protected] Cc: Subject: RE: [Mod-pubsub-developer] Logging package Right now, I think 2.3 is pretty advanced. Like OS X and RH9 ship with 2.2, I think. JP --- Adam Rifkin <[email protected]> wrote: > Ah, good topic for the list: so far, we've been concerned with backward > compatibility at least to Python 2.1 (in the case of Windows), and as far > back as Python 1.5 (in the case of Linux, Mac OS X, and Slowaris). > > Going forward, do we worry about backward compatibility? Or do we embrace > Python 2.3 whole-hog?? > > Any suggestions would be greatly appreciated... thanks for the suggestion, > Robert! > > Adam > > > -----Original Message----- > From: Robert Leftwich [mailto:[email protected]] > Sent: Mon 7/21/2003 10:50 PM > To: [email protected] > Subject: [Mod-pubsub-developer] Logging package > Python 2.3 has a standard logging package (see > http://www.python.org/doc/2.3c1/whatsnew/node8.html, > http://www.python.org/doc/2.3c1/lib/module-logging.html) which has a > rotating file handler, among others. The code is (I believe) the same as > that from 'A Logging System for Python' > (http://www.red-dove.com/python_logging.html). > > Robert ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0