[Yum-devel] logging

Michael Stenner mstenner at linux.duke.edu
Thu Mar 4 18:13:52 UTC 2004


On Thu, Mar 04, 2004 at 02:10:31AM -0500, seth vidal wrote:
> Hi all,
>  Thinking that maybe it would be wise to completely dump the standard
> file logging and only go with syslog-based logging. Any thoughts to the
> contrary?

One more thing:  new in python 2.3 is a "logging" module that appears
to be seriously badass.

http://python.org/doc/2.3.3/lib/module-logging.html      DOCS
http://python.org/doc/2.3.3/lib/node301.html             EXAMPLE

If you're considering seriously overhauling the logging, it might be
smart to move to this.  I realize you want to stay python 2.2
compatible for now (because FC1 doesn't include 2.3, for example) so
that would mean including the module in yum, at least temporarily.  I
also do not know how well it works with 2.2, but I could check it out.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G



More information about the Yum-devel mailing list