[issue8764] logging RotatingFileHandler cause too long to fininsh

2010-05-19 Thread davy zhang
Changes by davy zhang : -- components: +Library (Lib) type: -> performance ___ Python tracker <http://bugs.python.org/issue8764> ___ ___ Python-bugs-list mai

[issue8764] logging RotatingFileHandler cause too long to fininsh

2010-05-19 Thread davy zhang
New submission from davy zhang : the function below is used to determine the proper file name of the next log file. But the question is if I set a large number of self.backupCount like 1000, it will take too long to calculate the right file name. I think it could be a better way to do