Package com.volantis.synergetics.log

Examples of com.volantis.synergetics.log.ServletContextConfigurationResolver


    public void init() throws ServletException {
        super.init();

        Log4jHelper.initializeLogging(
                this.getInitParameter(LOG4J_FILE_PARAM),
                new ServletContextConfigurationResolver(getServletContext()),
                DEFAULT_LOG4J_LOCATION,
                PREDEFINED_LOG4J_LOCATION);

        // As MCS resets all logging configuration on startup we force it to
        // initialise first. Then mss specific logging is appended to the mcs
View Full Code Here


        final ServletContext servletContext =
            (ServletContext) context.getService(serviceReference);
        final String log4jConfigFile =
            servletContext.getInitParameter("map.log4j.config.file");
        Log4jHelper.initializeLogging(log4jConfigFile,
            new ServletContextConfigurationResolver(servletContext),
            DEFAULT_LOG4J_LOCATION, PREDEFINED_LOG4J_LOCATION);
    }
View Full Code Here

     *
     * @param context the ServletContext used by the resolvers
     */
    private void initResolvers(ServletContext context) {
        paramNameToResolversMap.put(LOG4J_FILE_PARAM,
                new ServletContextConfigurationResolver(context));
        paramNameToResolversMap.put(CONFIG_FILE_PARAM,
                new SCCConfigurationResolver(context));
    }
View Full Code Here

TOP

Related Classes of com.volantis.synergetics.log.ServletContextConfigurationResolver

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.