diff options
author | Harald Musum <musum@oath.com> | 2018-08-15 11:30:49 +0200 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-08-15 11:30:49 +0200 |
commit | 821a3cd38f103bbb7f9654a46c5aa7b8bc48799e (patch) | |
tree | 7cecfa730b4cc22400fd217d0541d928efd6aea7 /node-admin | |
parent | 83872ea40fa03f0530d24ce81253bc3929177d31 (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.java | 1 |
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( |