diff options
Diffstat (limited to 'vespalog')
-rw-r--r-- | vespalog/abi-spec.json | 7 | ||||
-rw-r--r-- | vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java | 8 |
2 files changed, 5 insertions, 10 deletions
diff --git a/vespalog/abi-spec.json b/vespalog/abi-spec.json index 09ac3fa75d3..68197f98f9a 100644 --- a/vespalog/abi-spec.json +++ b/vespalog/abi-spec.json @@ -300,15 +300,10 @@ "public" ], "methods": [ - "public void <init>(java.lang.String, java.lang.String, java.lang.String)", - "public com.yahoo.log.LevelController getLevelControl(java.lang.String)", "public com.yahoo.log.LevelController getLevelController(java.lang.String)", "public void close()" ], - "fields": [ - "public static final int controlFileHeaderLength", - "public static final int numLevels" - ] + "fields": [] }, "com.yahoo.log.event.Collection": { "superClass": "com.yahoo.log.event.Event", diff --git a/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java b/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java index 85d92075827..2cc88855deb 100644 --- a/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java +++ b/vespalog/src/main/java/com/yahoo/log/VespaLevelControllerRepo.java @@ -30,12 +30,12 @@ public class VespaLevelControllerRepo implements LevelControllerRepo { /** * length of fixed header content of a control file, constant: **/ - public static final int controlFileHeaderLength; + static final int controlFileHeaderLength; /** * number of distinctly controlled levels (in logctl files), * must be compatible with C++ Vespa logging **/ - public static final int numLevels = 8; + static final int numLevels = 8; static { controlFileHeaderLength = CFHEADER.length() @@ -50,7 +50,7 @@ public class VespaLevelControllerRepo implements LevelControllerRepo { **/ private LevelController defaultLevelCtrl; - public VespaLevelControllerRepo(String logCtlFn, String logLevel, String applicationPrefix) { + VespaLevelControllerRepo(String logCtlFn, String logLevel, String applicationPrefix) { this.logControlFilename = logCtlFn; this.appPrefix = applicationPrefix; defaultLevelCtrl = new DefaultLevelController(logLevel); @@ -142,7 +142,7 @@ public class VespaLevelControllerRepo implements LevelControllerRepo { levelControllerRepo = new MappedLevelControllerRepo(mapBuf, controlFileHeaderLength, numLevels, logControlFilename); } - public LevelController getLevelControl(String suffix) { + private LevelController getLevelControl(String suffix) { LevelController ctrl = null; if (levelControllerRepo != null) { if (suffix == null || suffix.equals("default")) { |