Package java.util.logging

Examples of java.util.logging.Logger.fine()


            }
            filterMap.setFilterName(filterName);
            app.addFilterMap(filterMap);

            if (logger.isLoggable(Level.FINE)) {
                logger.fine("added a caching filter for servlet-name = " + mapping.getServletName() + " url-pattern = " + mapping.getURLPattern());
            }
        }
       
        manager.setServletContext(app.getServletContext());
        return manager;
View Full Code Here


               
                ConnectionManagerImpl mgr = null;

                if ( isLazyAssoc && !forceNoLazyAssoc ) {
                    if (_logger.isLoggable( Level.FINE) ) {
                        _logger.fine(
                            "@@@@ Creating LazyAssociatableConnectionManager");
                    }
        mgr = new LazyAssociatableConnectionManagerImpl(poolName);
                } else if ( isLazyEnlist ) {
                    if (_logger.isLoggable( Level.FINE) ) {
View Full Code Here

                            "@@@@ Creating LazyAssociatableConnectionManager");
                    }
        mgr = new LazyAssociatableConnectionManagerImpl(poolName);
                } else if ( isLazyEnlist ) {
                    if (_logger.isLoggable( Level.FINE) ) {
                        _logger.fine(
                            "@@@@ Creating LazyEnlistableConnectionManager");
                    }
        mgr = new LazyEnlistableConnectionManagerImpl(poolName);
                } else {
                    if (_logger.isLoggable( Level.FINE) ) {
View Full Code Here

                            "@@@@ Creating LazyEnlistableConnectionManager");
                    }
        mgr = new LazyEnlistableConnectionManagerImpl(poolName);
                } else {
                    if (_logger.isLoggable( Level.FINE) ) {
                        _logger.fine(
                            "@@@@ Creating plain ConnectionManager");
                    }
        mgr = new ConnectionManagerImpl(poolName);
                }
    return mgr;
View Full Code Here

            try {
                CMM_MBean mbean = mf.create(m);

                if ((l != null) && (mbean != null)) {
                    l.fine("Created MBean: " + mbean.getName());
                }

            } catch (Exception e) {
                LogDomains.getLogger().log(Level.WARNING,
                    "Error while instrumenting mbean", e);
View Full Code Here

            if (_preprocessor != null) {
                // Loop through all of the defined preprocessors...
                for (int i=0; i < _preprocessor.length; i++) {
                    classBytes =
                        _preprocessor[i].preprocess(className, classBytes);
                    _logger.fine("[PreprocessorUtil.processClass] Preprocessor "
                        + i + " Processed Class: " + className);
                    // Verify the preprocessor returned some bytes
                    if (classBytes != null){                          
                        goodBytes = classBytes;
                    }
View Full Code Here

        // Save command output to return in ActionReport
        StringBuilder output = new StringBuilder();


        // Optimize the oder of server instances to avoid clumping on nodes
        logger.fine(String.format("Original instance list %s",
                serverListToString(targetServers)));
        targetServers = optimizeServerListOrder(targetServers);

        // Holds responses from the threads running the command
        ArrayBlockingQueue<CommandRunnable> responseQueue =
View Full Code Here

                    instanceReport, responseQueue);
            cmdRunnable.setName(iname);
            threadPool.execute(cmdRunnable);
        }

        logger.fine(String.format("%s commands queued, waiting for responses",
                command));

        // Make sure we don't wait longer than the admin read timeout. Set
        // our limit to be 3 seconds less.
        long adminTimeout = RemoteRestAdminCommand.getReadTimeout() - 3000;
View Full Code Here

        long adminTimeout = RemoteRestAdminCommand.getReadTimeout() - 3000;
        if (adminTimeout <= 0) {
            // This should never be the case
            adminTimeout = 57 * 1000;
        }
        logger.fine(String.format("Initial cluster command timeout: %d ms",
                adminTimeout));

        // Now go get results from the response queue.
        for (int n = 0; n < nInstances; n++) {
            long timeLeft = adminTimeout - (System.currentTimeMillis() - startTime);
View Full Code Here

                break;
            }
            String iname = cmdRunnable.getName();
            waitingForServerNames.remove(iname);
            ActionReport instanceReport = cmdRunnable.getActionReport();
            logger.fine(String.format("Instance %d of %d (%s) has responded with %s",
                    n+1, nInstances, iname, instanceReport.getActionExitCode()));
            if (instanceReport.getActionExitCode() != ExitCode.SUCCESS) {
                // Bummer, the command had an error. Log and save output
                failureOccurred = true;
                failedServerNames.append(iname).append(" ");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.