Package org.apache.logging.log4j.core.config

Examples of org.apache.logging.log4j.core.config.NullConfiguration


            if (shutdownThread != null) {
                Runtime.getRuntime().removeShutdownHook(shutdownThread);
                shutdownThread = null;
            }
            Configuration prev = config;
            config = new NullConfiguration();
            updateLoggers();
            prev.stop();
            externalContext = null;
            LogManager.getFactory().removeContext(this);
            status = Status.STOPPED;
View Full Code Here


            status = Status.STOPPING;
            if (shutdownThread != null) {
                Runtime.getRuntime().removeShutdownHook(shutdownThread);
                shutdownThread = null;
            }
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

            if (shutdownThread != null) {
                Runtime.getRuntime().removeShutdownHook(shutdownThread);
                shutdownThread = null;
            }
            final Configuration prev = config;
            config = new NullConfiguration();
            updateLoggers();
            prev.stop();
            externalContext = null;
            LogManager.getFactory().removeContext(this);
            status = Status.STOPPED;
View Full Code Here

            if (shutdownThread != null) {
                Runtime.getRuntime().removeShutdownHook(shutdownThread);
                shutdownThread = null;
            }
            Configuration prev = config;
            config = new NullConfiguration();
            updateLoggers();
            prev.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
View Full Code Here

    public void stop() {
        configLock.lock();
        try {
            status = Status.STOPPING;
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

    public void stop() {
        configLock.lock();
        try {
            status = Status.STOPPING;
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

    public void stop() {
        configLock.lock();
        try {
            status = Status.STOPPING;
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

    public void stop() {
        configLock.lock();
        try {
            status = Status.STOPPING;
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

            if (shutdownThread != null) {
                Runtime.getRuntime().removeShutdownHook(shutdownThread);
                shutdownThread = null;
            }
            final Configuration prev = config;
            config = new NullConfiguration();
            updateLoggers();
            prev.stop();
            externalContext = null;
            LogManager.getFactory().removeContext(this);
            status = Status.STOPPED;
View Full Code Here

    public void stop() {
        configLock.lock();
        try {
            status = Status.STOPPING;
            updateLoggers(new NullConfiguration());
            config.stop();
            externalContext = null;
            status = Status.STOPPED;
        } finally {
            configLock.unlock();
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.core.config.NullConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.