How to have multi-threaded server log to one file ?

Aahz Maruch aahz at panix.com
Thu Feb 28 00:59:41 EST 2002


In article <97ae44ee.0202272013.2094b2b at posting.google.com>,
Stephen <shriek at gmx.co.uk> wrote:
>
>I had a look at the effbot queue-example and think I understand the
>Queue class but adapting my program to share the queue instance in the
>first place is making my head spin.  Namely, how do I get the same
>Queue object into both MyHandler and MyServer in the first place ?

Pass it in.  See some examples at http://starship.python.net/crew/aahz/
-- 
                      --- Aahz  <*>  (Copyright 2002 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista

"He's Quebecois. He puts mayonnaise on *everything*."  --siobhan at virulent.org



More information about the Python-list mailing list