<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mailman.git/Mailman/Logging, branch master</title>
<subtitle>The GNU Mailing List manager.</subtitle>
<id>https://git.neuromancer.sk/mailman.git/atom/Mailman/Logging?h=master</id>
<link rel='self' href='https://git.neuromancer.sk/mailman.git/atom/Mailman/Logging?h=master'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/'/>
<updated>2006-04-17T04:08:17Z</updated>
<entry>
<title>- Convert all logging to Python's standard logging module.  Get rid of all</title>
<updated>2006-04-17T04:08:17Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2006-04-17T04:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0ed815a216c7bb6f820cfdf99fc8d31bcfd19fc0'/>
<id>urn:sha1:0ed815a216c7bb6f820cfdf99fc8d31bcfd19fc0</id>
<content type='text'>
  traces of our crufty old Syslog.  Most of this work was purely mechanical,
  except for:
  
  1) Initializing the loggers.  For this, there's a new module
     Mailman/loginit.py (yes all modules from now on will use PEP 8
     names).  We can't call this 'logging.py' because that will
     interfere with importing the stdlib module of the same name (can
     you say Python 2.5 and absolute imports?).
     
     If you want to write log messages both to the log file and to
     stderr, pass True to loginit.initialize().  This will turn on
     propagation of log messages to the parent 'mailman' logger, which
     is set up to print to stderr.  This is how bin/qrunner works when
     not running as a subprocess of mailmanctl.
     
  2) The driver script.  I had to untwist the StampedLogger stuff and
     implement differently printing exceptions and such to log/error
     because standard logging objects don't have a write() method.  So
     we write to a cStringIO and then pass that to the logger.
     
  3) SMTPDirect.py because of the configurability of the log messages.
     This required changing SafeDict into a dict subclass (which is
     better than using UserDicts anyway -- yay Python 2.3!).  It's
     probably still possible to flummox things up if you change the
     name of the loggers in the SMTP_LOG_* variables in mm_cfg.py.
     However, the worst you can do is cause output to go to stderr and
     not go to a log file.
     
  Note too that all entry points into the Mailman system must call
  Mailman.loginit.initialize() or the log output will go to stderr
  (which may occasionally be what you want).  Currently all CGIs and
  qrunners should be working properly.
  
  I wish I could have tested all code paths that touch the logger, but
  that's infeasible.  I have tested this, but it's possible that there
  were some mistakes in the translation.
  
- Mailman.Bouncers.BounceAPI.Stop is a singleton, but not a class
  instance any more.
  
- True/False code cleanup, PEP 8 import restructuring, whitespace
  normalization, and copyright year updates, as appropriate.

</content>
</entry>
<entry>
<title>Now that we've converted from CVS to Subversion, remove CVS cruft from</title>
<updated>2006-04-15T18:43:58Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2006-04-15T18:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=a0cdfaef2596d08d1abbfc3704efe4ceb72991f0'/>
<id>urn:sha1:a0cdfaef2596d08d1abbfc3704efe4ceb72991f0</id>
<content type='text'>
the trunk.  This serves also to test write permission to the svn
repository, and tests email notifications.
</content>
</entry>
<entry>
<title>Port cleaning changes forward from 2.1-maint branch.</title>
<updated>2005-12-30T18:56:46Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2005-12-30T18:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=991f57220ddfdc34c9bab88f6241ecc486abdbcc'/>
<id>urn:sha1:991f57220ddfdc34c9bab88f6241ecc486abdbcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Python 2.4 may fail to write 8bit (non-ascii) characters.</title>
<updated>2005-12-24T01:42:18Z</updated>
<author>
<name>tkikuchi</name>
</author>
<published>2005-12-24T01:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=61e28f4ff6b07109c556f4107b14eb18387a5829'/>
<id>urn:sha1:61e28f4ff6b07109c556f4107b14eb18387a5829</id>
<content type='text'>
</content>
</entry>
<entry>
<title>back porting from 2.1.6</title>
<updated>2005-08-28T05:31:27Z</updated>
<author>
<name>tkikuchi</name>
</author>
<published>2005-08-28T05:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=067dc15b2432bb285ab5e4a3eac6f4dddd67ed19'/>
<id>urn:sha1:067dc15b2432bb285ab5e4a3eac6f4dddd67ed19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>FSF office has moved. chdcking in for MAIN branch.</title>
<updated>2005-08-27T01:54:05Z</updated>
<author>
<name>tkikuchi</name>
</author>
<published>2005-08-27T01:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=2a6084d03b96f87af153b663cf3dd4776e7e37fb'/>
<id>urn:sha1:2a6084d03b96f87af153b663cf3dd4776e7e37fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2003-03-11T03:38:44Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2003-03-11T03:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0289c31dda2c59c93f4173fe9d480a049ba0c38d'/>
<id>urn:sha1:0289c31dda2c59c93f4173fe9d480a049ba0c38d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #683906, add $DESTDIR to install target, by Ademar de Souza Reis</title>
<updated>2003-03-11T00:33:31Z</updated>
<author>
<name>twouters</name>
</author>
<published>2003-03-11T00:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=6d47462abb47292fb59f36ecd49d141a710e5ebe'/>
<id>urn:sha1:6d47462abb47292fb59f36ecd49d141a710e5ebe</id>
<content type='text'>
Jr, after much checking and rechecking (and some massaging) by me. Checking
in now before I fall asleep and forget what all this was for.

This patch adds the ability to 'make DESTDIR=/some/dir/tree install' that
doesn't influence the paths stored in e.g. Defaults.py at all, which is of
good use for various package managers. It is not all that package managers
must do, however! Running make install with DESTDIR set means bin/update is
never run, and mm_cfg.py is always written; package managers should make
sure the appropriate post-installation is done, and that mm_cfg.py is
treated as a config file.

This patch inadvertently fixes some bogus whitespace: 8-spaces where
surrounding code used tabs. The difference was harmless because the 8-spaces
were used inside shell-continued-oneliners, but it is confusing and could
lead to future harm. I'm too tired to make those two or three changes in a
separate checkin, sorry.

This patch also assumes the various packages that are installed using
distutils do not record (or rather, use) their installation paths anywhere,
but this seems to hold true at least for the moment.

Also, I've done so many slow cvs diff's, I'm wondering when we'll switch to
Subversion. Unfortunately, I've also done so many 'cvs diff -c &gt; file; patch
-p0 -R &lt; file's to switch back and forth between patches and change sets,
I'm wondering when we'll switch to Aegis as well. :-P
</content>
</entry>
<entry>
<title>Donn Cave's patch #602087 to honor configure's --srcdir switch.</title>
<updated>2002-12-12T04:30:38Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2002-12-12T04:30:38Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=ae7b2c1701e8342c6903953ad7658eeded5cf95e'/>
<id>urn:sha1:ae7b2c1701e8342c6903953ad7658eeded5cf95e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>__get_f(): LookupError is built-in.  Bug reported by Carson Gaspar.</title>
<updated>2002-11-11T14:52:21Z</updated>
<author>
<name>bwarsaw</name>
</author>
<published>2002-11-11T14:52:21Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=7b0df662ca9bdfcf273220cec285f50a7f7983ee'/>
<id>urn:sha1:7b0df662ca9bdfcf273220cec285f50a7f7983ee</id>
<content type='text'>
</content>
</entry>
</feed>
