Home | History | Annotate | Download | only in logging

Lines Matching refs:maxBytes

89     def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0):
94 values of maxBytes and backupCount to allow the file to rollover at
97 Rollover occurs whenever the current log file is nearly maxBytes in
108 If maxBytes is zero, rollover never occurs.
115 if maxBytes > 0:
118 self.maxBytes = maxBytes
153 if self.maxBytes > 0: # are we rolling over?
156 if self.stream.tell() + len(msg) >= self.maxBytes: