Use a real bool for a flag option.
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index d9acb87..296237b 100644
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -155,7 +155,7 @@
If backupCount is > 0, when rollover is done, no more than backupCount
files are kept - the oldest ones are deleted.
"""
- def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=0):
+ def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=False):
BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay)
self.when = when.upper()
self.backupCount = backupCount