Re: Disabling Logging Handler for a Second

2009-05-22 Thread Gabriel Genellina
En Sat, 23 May 2009 00:56:43 -0300, Gabriel Genellina escribió: - Filters: You can install a filter onto the stream handler (using handler.addFilter) that rejects any record whose msg starts with 'Email:' (or whatever you consider apropiate) s/apropiate/appropriate/ -- Gabriel Genellina

Re: Disabling Logging Handler for a Second

2009-05-22 Thread Gabriel Genellina
En Fri, 22 May 2009 08:26:49 -0300, VenkataRamaKrishna Boddu escribió: Is there any way, I can disable one logging Handler, while other Log Handler are still available for servicing. import logging; import sys; thelog = logging.getLogger('app.scsi.cdb'); strmHdlr = logging.StreamHand

Disabling Logging Handler for a Second

2009-05-22 Thread VenkataRamaKrishna Boddu
Hi All, Is there any way, I can disable one logging Handler, while other Log Handler are still available for servicing. Please see the below code. It explains my Problem better. I actually reduce the size of problem, to make it understandable faster