forked from vespa-engine/vespa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vespa-engine#9886 from vespa-engine/balder/contino…
…usly-drop-logfile-from-memory-as-you-compress-it Drop file continously from cache as we read it.
- Loading branch information
Showing
3 changed files
with
59 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
container-accesslogging/src/test/java/com/yahoo/container/logging/CompressWhileDrop.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.yahoo.container.logging; | ||
|
||
import java.io.File; | ||
|
||
public class CompressWhileDrop { | ||
public static void main(String [] args) { | ||
System.out.println("Start compressing file " + args[0]); | ||
LogFileHandler.runCompression(new File(args[0])); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters