Jean-Michel Pichavant wrote:
> Meanwhile you can shorten the code this way:
> 
> root.addHandler(FileHandler('debug.log'))
> root.handlers[-1].setLevel(DEBUG)
> 
Eh? Readability was the aim.
-- 
Fayaz Yusuf Khan
Cloud architect, Dexetra SS, India
fayaz.yusuf.khan_AT_gmail_DOT_com, fayaz_AT_dexetra_DOT_com
+91-9746-830-823


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to