Re: Write by logging.FileHandler to one file by many processess

2007-10-23 Thread Gabriel Genellina
En Tue, 23 Oct 2007 05:08:11 -0300, Vinay Sajip <[EMAIL PROTECTED]> escribi�: > On Oct 18, 4:08 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> Yes, output from several processes comes horribly mixed... >> I've avoided it using separate log files for each process; but if that's >> not po

Re: Write by logging.FileHandler to one file by many processess

2007-10-23 Thread Vinay Sajip
On Oct 18, 4:08 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > Yes, output from several processes comes horribly mixed... > I've avoided it using separate log files for each process; but if that's > not possible, one could try using syslog or a SocketHandler and a separate > listening process

Re: Write by logging.FileHandler to one file by many processess

2007-10-17 Thread Gabriel Genellina
En Wed, 17 Oct 2007 11:10:55 -0300, Diez B. Roggisch <[EMAIL PROTECTED]> escribió: >> On Oct 17, 3:33 pm, Rafa Zawadzki <[EMAIL PROTECTED]> wrote: >>> >>> As I saw in logging source - there is no lock per file during making >>> emit() (only lock per thread). >>> >>> So, my question is - is it s

Re: Write by logging.FileHandler to one file by many processess

2007-10-17 Thread Diez B. Roggisch
Alexandre Badez wrote: > On Oct 17, 3:33 pm, Rafa Zawadzki <[EMAIL PROTECTED]> wrote: >> Hello. >> >> As I saw in logging source - there is no lock per file during making >> emit() (only lock per thread). >> >> So, my question is - is it safe to log into one file using many >> processess uses log

Re: Write by logging.FileHandler to one file by many processess

2007-10-17 Thread Alexandre Badez
On Oct 17, 3:33 pm, Rafa Zawadzki <[EMAIL PROTECTED]> wrote: > Hello. > > As I saw in logging source - there is no lock per file during making emit() > (only lock per thread). > > So, my question is - is it safe to log into one file using many processess > uses logging logger? > > Cheers, > -- > b

Write by logging.FileHandler to one file by many processess

2007-10-17 Thread Rafał Zawadzki
Hello. As I saw in logging source - there is no lock per file during making emit() (only lock per thread). So, my question is - is it safe to log into one file using many processess uses logging logger? Cheers, -- bluszcz http://vegan-planet.net -- http://mail.python.org/mailman/listinfo/pytho