labscript-suite/labscript-utils

Log files aren't rotating

philipstarkey opened this issue · 1 comments

Original report (archived issue) by Russell Anderson (Bitbucket: rpanderson, GitHub: rpanderson).


The RotatingFileHandler used in setup_logging.py requires a non-zero backupCount argument for rollover to occur, but this argument defaults to zero and we hadn't specified otherwise. With the log level set to DEBUG, log files can grow pretty fast, resulting in unwieldy log files.

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


  • changed state from "new" to "resolved"

Resolves issue #11 (non-rotating log files). Also made maxBytes an argument.

→ <<cset f77567c>>