Trees | Indices | Help |
|
---|
|
A LogFile keeps all of its contents on disk, in a non-pickle format to which new entries can easily be appended. The file on disk has a name like 12-log-compile-output, under the Builder's directory. The actual filename is generated (before the LogFile is created) by BuildStatus.generateLogfileName.
Old LogFile pickles (which kept their contents in .entries) must be upgraded. The BuilderStatus is responsible for doing this, when it loads the BuildStatus into memory. The Build pickle is not modified, so users who go from 0.6.5 back to 0.6.4 don't have to lose their logs.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Class Variables | |
finished = False
|
|
length = 0
|
|
nonHeaderLength = 0
|
|
tailLength = 0
|
|
chunkSize = 10000
|
|
runLength = 0
|
|
logMaxSize = None hash(x) |
|
logMaxTailSize = None hash(x) |
|
maxLengthExceeded = False
|
|
runEntries =
|
|
entries = None hash(x) |
|
BUFFERSIZE = 2048
|
|
filename = None hash(x) |
|
openfile = None hash(x) |
|
compressMethod =
|
|
__implemented__ = <implementedBy buildbot.status.builder.LogFile>
|
|
__provides__ = <zope.interface.declarations.ClassProvides obje
|
Method Details |
|
Save our .entries to a new-style offline log file (if necessary), and modify our in-memory representation to use it. The original pickled LogFile (inside the pickled Build) won't be modified. |
Class Variable Details |
__provides__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 29 10:00:42 2010 | http://epydoc.sourceforge.net |