diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2018-09-03 08:00:12 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2018-09-06 13:00:14 +0000 |
commit | 30fd1322c666d8e48fae340dc69ce5030069e30b (patch) | |
tree | ee2b340ea309ff07d8bc867952dc65abed863f06 /vespalog/pom.xml | |
parent | ae594f2b7453ff1c5109fd8a9cec9339ec0a6366 (diff) |
enforce log retention policies
* for access logs, save meta-data about the log file itself
in a simple format.
* implement a proof-of-concept shell script that removes
log files after one month.
* ensure retention enforcer is started when services start
* note that retention enforcer will continue running even
after services stop, but it has protection to ensure that
it won't multiply endlessly.
Diffstat (limited to 'vespalog/pom.xml')
-rw-r--r-- | vespalog/pom.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vespalog/pom.xml b/vespalog/pom.xml index 6443769afbe..7b167ee2c1c 100644 --- a/vespalog/pom.xml +++ b/vespalog/pom.xml @@ -50,6 +50,10 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <forkMode>once</forkMode> + <environmentVariables> + <VESPA_HOME>${project.build.directory}</VESPA_HOME> + </environmentVariables> <redirectTestOutputToFile>${test.hide}</redirectTestOutputToFile> </configuration> </plugin> |