summaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-08-15 11:30:49 +0200
committerHarald Musum <musum@oath.com>2018-08-15 11:30:49 +0200
commit821a3cd38f103bbb7f9654a46c5aa7b8bc48799e (patch)
tree7cecfa730b4cc22400fd217d0541d928efd6aea7 /node-admin
parent83872ea40fa03f0530d24ce81253bc3929177d31 (diff)
Remove all old files in access log dir when disk is going full
Customers may configure access log file pattern, so we need to delete regardless of file name
Diffstat (limited to 'node-admin')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
index 7d3c6eb5a95..9a94946981f 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
@@ -271,7 +271,6 @@ public class StorageMaintainer {
maintainerExecutor.addJob("delete-files")
.withArgument("basePath", qrsDir)
.withArgument("maxAgeSeconds", Duration.ofDays(3).getSeconds())
- .withArgument("fileNameRegex", ".*QueryAccessLog.*")
.withArgument("recursive", false);
Path logArchiveDir = environment.pathInNodeAdminFromPathInNode(