Author maro
Recipients maro
Date 2009-08-07.09:53:21
SpamBayes Score 0.000266903
Marked as misclassified No
Message-id <1249638809.81.0.11088299207.issue6667@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure, if it's an issue. I don't know how to use argument 'delay'
of FileHandler in my logging.conf file.

[handler_tarFileHandler]
class=FileHandler
level=DEBUG
formatter=simpleFormatter
args=('/tmp/_tar2ncConverter.log','a+')
delay=True # file is created only when first message is emited (delay =
True), not working, empty file is always created...

If I put delay to FileHandler's constructor args
('/tmp/_tar2ncConverter.log','a+',None,True) I get error message about
missing arguments. It is an issue, or just my wrong arranged args?

regards 
maro
History
Date User Action Args
2009-08-07 09:53:32marosetrecipients: + maro
2009-08-07 09:53:29marosetmessageid: <1249638809.81.0.11088299207.issue6667@psf.upfronthosting.co.za>
2009-08-07 09:53:27marolinkissue6667 messages
2009-08-07 09:53:22marocreate