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

Examples of org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource


        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            ConfigurationSource source = new ConfigurationSource(in);
            Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.start(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (Exception ex) {
View Full Code Here


        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            ConfigurationSource source = new ConfigurationSource(in);
            Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.setConfiguration(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (Exception ex) {
View Full Code Here

        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            final InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            final ConfigurationSource source = new ConfigurationSource(in);
            final Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.start(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (final Exception ex) {
View Full Code Here

        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            ConfigurationSource source = new ConfigurationSource(in);
            Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.start(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (Exception ex) {
View Full Code Here

        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            final InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            final ConfigurationSource source = new ConfigurationSource(in);
            final Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.start(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (final Exception ex) {
View Full Code Here

        LOGGER.debug("Remote request to reconfigure from config text.");

        try {
            final InputStream in = new ByteArrayInputStream(
                    configText.getBytes(charsetName));
            final ConfigurationSource source = new ConfigurationSource(in);
            final Configuration updated = ConfigurationFactory.getInstance()
                    .getConfiguration(source);
            loggerContext.start(updated);
            LOGGER.debug("Completed remote request to reconfigure from config text.");
        } catch (final Exception ex) {
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource

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.