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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getChunks(self,
channels=[ ] ,
onlyText=False) |
source code
|
|
|
readlines(self,
channel=0)
Return an iterator that produces newline-terminated lines, excluding
header chunks. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
upgrade(self,
logfilename)
Save our .entries to a new-style offline log file (if necessary), and
modify our in-memory representation to use it. |
source code
|
|
|
__providedBy__(...)
Object Specification Descriptor |
source code
|
|
|
|