Package org.apache.tomcat.util.log

Examples of org.apache.tomcat.util.log.Log


        {
            // It's secure, now check to see if the keystore pass was
            // already specified in the config file
            if (!connector.isKeypassSet()) {
                // insure log flushed
                Log logger = getLog();
                if (logger != null )
                    logger.flush();

                // Go ahead with the prompting
                String certpwd = null;
                try {
                    certpwd = Prompter.promptForInput(
View Full Code Here


    {
        // Check to see if the connection password was
        // already specified in the config file
        if (!realm.isConnectionPasswordSet()) {
            // insure log flushed
            Log logger = getLog();
            if (logger != null )
                logger.flush();

            // Go ahead with the prompting
            String connpwd = null;
            try {
                connpwd = Prompter.promptForInput(
View Full Code Here

//              (String) request.getAttribute(
//                                  Constants.INC_REQUEST_URI));

            boolean precompile = preCompile(request);

      Log jasperLog = Constants.jasperLog;
     
            if (jasperLog != null &&
    jasperLog.getLevel() >= Log.INFORMATION)
    {
        jasperLog.log("JspEngine --> "+jspUri);
        jasperLog.log("\t     ServletPath: "+request.getServletPath());
        jasperLog.log("\t        PathInfo: "+request.getPathInfo());
        jasperLog.log("\t        RealPath: "
          +getServletConfig().getServletContext().getRealPath(jspUri));
        jasperLog.log("\t      RequestURI: "+request.getRequestURI());
        jasperLog.log("\t     QueryString: "+request.getQueryString());
        jasperLog.log("\t  Request Params: ");
                    // If not precompiling and method is POST, avoid reading POST data.
                    if ( !precompile && request.getMethod().equals("POST") )
                        jasperLog.log("Parameters not read because method is POST");
                    else {
                        Enumeration e = request.getParameterNames();
                        while (e.hasMoreElements()) {
                            String name = (String) e.nextElement();
                            jasperLog.log("\t\t "+name+" = "+request.getParameter(name));
                        }
                    }
    }
            serviceJspFile(request, response, jspUri, null, precompile);
  } catch (RuntimeException e) {
View Full Code Here

//              (String) request.getAttribute(
//                                  Constants.INC_REQUEST_URI));

            boolean precompile = preCompile(request);

      Log jasperLog = Constants.jasperLog;
     
            if (jasperLog != null &&
    jasperLog.getLevel() >= Log.INFORMATION)
    {
        jasperLog.log("JspEngine --> "+jspUri);
        jasperLog.log("\t     ServletPath: "+request.getServletPath());
        jasperLog.log("\t        PathInfo: "+request.getPathInfo());
        jasperLog.log("\t        RealPath: "
          +getServletConfig().getServletContext().getRealPath(jspUri));
        jasperLog.log("\t      RequestURI: "+request.getRequestURI());
        jasperLog.log("\t     QueryString: "+request.getQueryString());
        jasperLog.log("\t  Request Params: ");
                    // If not precompiling and method is POST, avoid reading POST data.
                    if ( !precompile && request.getMethod().equals("POST") )
                        jasperLog.log("Parameters not read because method is POST");
                    else {
                        Enumeration e = request.getParameterNames();
                        while (e.hasMoreElements()) {
                            String name = (String) e.nextElement();
                            jasperLog.log("\t\t "+name+" = "+request.getParameter(name));
                        }
                    }
    }
            serviceJspFile(request, response, jspUri, null, precompile);
  } catch (RuntimeException e) {
View Full Code Here

TOP

Related Classes of org.apache.tomcat.util.log.Log

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.