All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.config.server.session.SilentDeployLogger Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.session;

import java.util.logging.Level;
import java.util.logging.Logger;

import com.yahoo.config.application.api.DeployLogger;

/**
 * The purpose of this is to mute the log messages from model and application building in {@link RemoteSession} that
 * is triggered by {@link SessionStateWatcher}, since those messages already have been emitted by the prepare
 * handler, for the same prepare operation.
 * 
 * @author vegardh
 *
 */
public class SilentDeployLogger implements DeployLogger {

    private static final Logger log = Logger.getLogger(SilentDeployLogger.class.getName());
    
    @Override
    public void log(Level level, String message) {
        log.log(Level.FINE, message);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy