On 6/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I notice in the PEP that BaseHTTPServer is on the list of candidate modules. > Please don't mess with anything that logs in the common Apache log format. > There are lots of tools out there that munch on that sort of output. > Changing it would just break them.
In general, the format of the messages shouldn't change; it is just that there should be a common choke point for controlling them. So by default, BaseHttpServer would still put out Apache log format, and it would still be occasionally interrupted by output from other modules. This does argue in favor of allowing the more intrusive additions to handlers and default configuration. It would be useful to have a handler that emitted only Apache log format records, and saved them (by default) to a rotating file rather than stderr.(And it *might* make sense to switch asyncore's hitlog default output to this format.) -jJ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com