The docs for logging.handlers.TimedRotatingFileHandler in Python 2.7 say that the &quot;utc&quot; keyword argument was added in 2.7:<div><a href="http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler">http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler</a></div>
<div><br></div><div>This isn&#39;t correct, however, since it was available as of 2.6 (I verified the source as well):</div><div><a href="http://docs.python.org/release/2.6/library/logging.html#timedrotatingfilehandler">http://docs.python.org/release/2.6/library/logging.html#timedrotatingfilehandler</a></div>
<div><br></div><div>It did appear to change to True/False in 2.7 instead of 0/1 in 2.6. I&#39;d recommend changing it to indicate this or removing the fact that this was added in 2.7 altogether.</div><div><br></div><div>Thanks!</div>
<div><br></div><div>Yoann</div>