Checkpoint cleanup

* Checkpoint.java
    calculate shortName correctly
* CrawlerLoggerModule.java
    use full checkpoint-name for log-rotation-suffix
This commit is contained in:
gojomo committed 2009-11-23 08:10:07 +00:00
1 parent d93129115e
commit 4127286a1c
2 files changed
+2 -2

No files matched your search

@@ -352,7 +352,7 @@ public class CrawlerLoggerModule
*/
public void doCheckpoint(Checkpoint checkpointInProgress) throws IOException {
// Rotate off crawler logs.
rotateLogFiles("." + checkpointInProgress.getShortName());
rotateLogFiles("." + checkpointInProgress.getName());
}
public void finishCheckpoint(Checkpoint checkpointInProgress) {}