[Python-Dev] PEP 282: A Logging System -- comments please (original) (raw)

Fred Drake fdrake@zope.com
Mon, 18 Feb 2002 10:51:14 -0500


On 15 February 2002, Michael McLay said:

I scanned the PEP and didn't find a reference to the logging package supporting logging over a network.

On Mon, 18 Feb 2002 10🔞09 -0500 Greg Ward <gward@python.net> wrote:

I think the right way to handle that would be to pass a file-like object to the logging framework, which it then write()'s to.

It seems to me that it should be trivial to map from the logging API to syslog; it already provides for logging to remote systems as well as filtering.

I'm sure this is already hashed out in the PEP though, so I should be reading that instead of commenting here. ;-)

-Fred

-- Fred L. Drake, Jr. PythonLabs at Zope Corporation