Home | 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
|
|
logMaxTailSize = None
|
|
maxLengthExceeded = False
|
|
runEntries =
|
|
entries = None
|
|
BUFFERSIZE = 2048
|
|
filename = None
|
|
openfile = None
|
|
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__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 25 17:52:39 2010 | http://epydoc.sourceforge.net |