@Override
    @SuppressWarnings("deprecation")
    public void logApplicationPackage(Level level, String message) {
        if (level.intValue() <= LogLevel.DEBUG.intValue() && !verbose)
            return;

        synchronized(logroot) {
            Cursor entry = logJson(level, message);
            entry.setBool("applicationPackage", true);
        }
        // Also tee to a normal log, Vespa log for example, but use level fine
        log.log(Level.FINE, () -> prefix + message);
    }
A {@link DeployLogger} which stores messages in a {@link Slime} tree, and holds a tenant and application name.

@author Ulf Lilleengen
configserver/src/main/java/com/yahoo/vespa/config/server/deploy/DeployHandlerLogger.java