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

Greg Ward gward@python.net
Mon, 18 Feb 2002 10🔞09 -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.

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. That should work just fine for stream (TCP) sockets; I think it would work for datagram (UDP) sockets too, but I'd want to test it first.

    Greg

-- Greg Ward - Unix weenie gward@python.net http://starship.python.net/~gward/ Eschew obfuscation!