Package org.jboss.logmanager

Examples of org.jboss.logmanager.PropertyConfigurator


                // Attempt to see if this is a J.U.L. configuration file
                if (isJulConfiguration(properties)) {
                    LoggingLogger.ROOT_LOGGER.julConfigurationFileFound(configFile.getName());
                } else {
                    // Load non-log4j types
                    final PropertyConfigurator propertyConfigurator = new PropertyConfigurator(logContext);
                    propertyConfigurator.configure(properties);
                }
            }
        } catch (Exception e) {
            throw LoggingMessages.MESSAGES.failedToConfigureLogging(e, configFile.getName());
        } finally {
View Full Code Here


    public ConfigurationPersistence() {
        this(LogContext.getSystemLogContext());
    }

    public ConfigurationPersistence(final LogContext logContext) {
        config = new PropertyConfigurator(logContext);
        delegate = config.getLogContextConfiguration();
    }
View Full Code Here

                        } finally {
                            SecurityActions.setThreadContextClassLoader(current);
                        }
                    } else {
                        // Load non-log4j types
                        new PropertyConfigurator(logContext).configure(configStream);
                    }
                } catch (Exception e) {
                    throw LoggingMessages.MESSAGES.failedToConfigureLogging(e, configFile.getName());
                } finally {
                    safeClose(configStream);
View Full Code Here

TOP

Related Classes of org.jboss.logmanager.PropertyConfigurator

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.