diff options
author | Harald Musum <musum@yahoo-inc.com> | 2017-03-06 19:02:23 +0100 |
---|---|---|
committer | Harald Musum <musum@yahoo-inc.com> | 2017-03-06 19:02:23 +0100 |
commit | 2e154aba7ca41e4b3adf362aab2133f2c730fd59 (patch) | |
tree | c8214de40941c7e10c3df1537f83e1046681fe7b /vespalog | |
parent | ecd7c43a1aa3f7d653e05184b719db87276f5c8e (diff) |
Temporary fix to avoid logcontrol file grow without limits
Diffstat (limited to 'vespalog')
-rw-r--r-- | vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java b/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java index f2542437e5f..a3a69e8f4ed 100644 --- a/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java +++ b/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java @@ -208,6 +208,13 @@ public class VespaLevelControllerRepo implements LevelControllerRepo { Enumeration<String> e = LogManager.getLogManager().getLoggerNames(); while (e.hasMoreElements()) { String name = e.nextElement(); + + // Temporary fix for VESPA-6667 (do not write these to logcontrol file + // since they have a name consisting of pacakge name + class + class loader, + // where the latter changes all the time and makes the logcontrol file grow without limits) + if (name.startsWith("org.eclipse.jetty.ContextHandler.")) { + continue; + } LevelController ctrl = getLevelControl(name); ctrl.checkBack(); } |