Examples of LogAndSource


Examples of railo.commons.io.log.LogAndSource

     */
    private void doGetMailSetting() throws PageException {
        Struct sct=new StructImpl();
        pageContext.setVariable(getString("admin",action,"returnVariable"),sct);
       
        LogAndSource ls=config.getMailLogger();
        railo.commons.io.log.Log log=ls.getLog();
        String logFile="";
        //String logLevel="";
        if(log instanceof LogResource)logFile=((LogResource)log).getResource().toString();
        String logLevel=LogUtil.toStringType(log.getLogLevel(),"ERROR");
        sct.set("strlogfile",ls.getSource());
        sct.set("logfile",logFile);
        sct.set("loglevel",logLevel);
        int maxThreads=20;
        SpoolerEngine engine = config.getSpoolerEngine();
        if(engine instanceof SpoolerEngineImpl) {
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.