mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +00:00
Checkpoint cleanup
* Checkpoint.java
calculate shortName correctly
* CrawlerLoggerModule.java
use full checkpoint-name for log-rotation-suffix
This commit is contained in:
1 parent
d93129115e
commit
4127286a1c
2 files changed
+2
-2
No files matched your search
@@ -86,7 +86,7 @@ public class Checkpoint implements InitializingBean {
|
||||
|
||||
public void afterPropertiesSet() {
|
||||
name = checkpointDir.getFile().getName();
|
||||
shortName = name.substring(name.indexOf("-"));
|
||||
shortName = name.substring(0, name.indexOf("-"));
|
||||
}
|
||||
|
||||
public void setSuccess(boolean b) {
|
||||
|
||||
Reference in new issue
Block a user