Re: Confused About Python Loggin

2009-08-01 Thread Vinay Sajip
On Jul 31, 2:04 pm, Jean-Michel Pichavant wrote: > Jannik Sundø wrote: > > Hi all. I think I fixed this problem by setting fileLogger.propagate = > > 0. Otherwise it will propagate up to the root logger, which outputs to > > stdout, as far as I can understand. > > > On 31 Jul 2009, at 01:17, Janni

Re: Confused About Python Loggin

2009-07-31 Thread Jean-Michel Pichavant
Jannik Sundø wrote: Hi all. I think I fixed this problem by setting fileLogger.propagate = 0. Otherwise it will propagate up to the root logger, which outputs to stdout, as far as I can understand. On 31 Jul 2009, at 01:17, Jannik Sundø wrote: Dear all, I am quite confused about the Python l

Re: Confused About Python Loggin

2009-07-31 Thread Vinay Sajip
On Jul 31, 12:41 pm, Jannik Sundø wrote: > Hi all. I think I fixed this problem by setting fileLogger.propagate =   > 0. Otherwise it will propagate up to the root logger, which outputs to   > stdout, as far as I can understand. > Only if you specifically configure it to do so - for example, call

Re: Confused About Python Loggin

2009-07-31 Thread Jannik Sundø
Hi all. I think I fixed this problem by setting fileLogger.propagate = 0. Otherwise it will propagate up to the root logger, which outputs to stdout, as far as I can understand. On 31 Jul 2009, at 01:17, Jannik Sundø wrote: Dear all, I am quite confused about the Python logging. I have read

Re: Confused About Python Loggin

2009-07-31 Thread Peter Otten
Jannik Sundø wrote: > Dear all, I am quite confused about the Python logging. I have read > and re-read the Python documentation for the Python logging module and > googled, but to no avail. I simply want one logger to log to a file > and another logger to log to the console. Neither should log th

Confused About Python Loggin

2009-07-30 Thread Jannik Sundø
Dear all, I am quite confused about the Python logging. I have read and re-read the Python documentation for the Python logging module and googled, but to no avail. I simply want one logger to log to a file and another logger to log to the console. Neither should log the other's messages. T