summaryrefslogtreecommitdiff
path: root/mailman/core/logging.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-163/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-161-4/+3
| | | | | | | | | | * Turn on absolute_import and unicode_literals everywhere, and deal with the aftermath. * Use 'except X as Y' everywhere. * Make the module prologues much more consistent. * Use '{}'.format() consistently, except for logger interface. * Because of the problems with calling ** args with unicode keywords, hide calls to Template.substitute() behind an API.
* Update some comments.Barry Warsaw2009-01-061-0/+11
|
* Picking some (py)lint.Barry Warsaw2009-01-041-1/+0
|
* Bump copyright yearsBarry Warsaw2009-01-011-1/+1
|
* Many test fixes, mostly by temporarily changing config -> Defaults.Barry Warsaw2008-12-291-6/+29
| | | | | | | Rewrote start_qrunners() for new lazr.config based configuration. ReopenableFileHandler.reopen() given a default filename argument for reopening to a different file. Useful in tests.
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-6/+27
| | | | | | | | | | options to bin/test. More test repair, even though it's cheating. Use a bunch of variables from Defaults.py even though these will have to be moved to the schema.cfg. Update logging initialization to consult the propagate flag from the command line. Also skip mailman.root since this is not a valid logger.
* Use my lazr.config megamerge branch for now, even though it's still underBarry Warsaw2008-12-231-1/+2
| | | | | | | | | | | | | | development. Completely rework the way switchboards and queue runners are initialized, i.e. driven from the configuration file instead of hard coded. The various queue runner directories are no longer available thorugh the config object directly. Get them from config.switchboards. Provide minimal mailman.cfg and testing.cfg configuration files. Neuter styles for now until they can be consolidated with lazr.config.
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-201-0/+109
mailman.configuration -> mailman.config.config mailman.initialize -> mailma.core.initialize mailman.loginit -> mailman.core.logging (yay future absolute imports!) Convert all configurations to lazr.config, though some legacy still remains, and I haven't been able to remove Defaults.py yet. Added as_boolean() and as_log_level() helpers for explicit type conversion. Added a schema.cfg.