Juha Lemmetti added the comment:
What You point out is true. However, I saw a bug in code where
RotatingFileHandler was used, and I had to check the operation using a small
test program.
For maxBytes, it is explicitly stated that when the value is 0, rollover never
occurs. It wouldn't
New submission from Juha Lemmetti:
If RotatingFileHandler is initialized with backupCount 0, the file does not
rotate but grows indefinitely. This is not self-evident from the documentation.
Suggestion: either rotate (discard) the log if backupCount==0 or mention the
current operation the