Package com.googlecode.psiprobe.tools.logging

Examples of com.googlecode.psiprobe.tools.logging.FileLogAccessor


    private void interrogateStdOutFiles(List appenders) {
        for (Iterator it = stdoutFiles.iterator(); it.hasNext(); ) {
            String fileName = (String) it.next();
            File stdout = new File(System.getProperty("catalina.base"), "logs/" + fileName);
            if (stdout.exists()) {
                FileLogAccessor fla = new FileLogAccessor();
                fla.setName(fileName);
                fla.setFile(stdout);
                appenders.add(fla);
            }
        }

    }
View Full Code Here


        for (Iterator it = stdoutFiles.iterator(); it.hasNext(); ) {
            String fileName = (String) it.next();
            if (fileName.equals(logName)) {
                File stdout = new File(System.getProperty("catalina.base"), "logs/" + logName);
                if (stdout.exists()) {
                    FileLogAccessor fla = new FileLogAccessor();
                    fla.setName(fileName);
                    fla.setFile(stdout);
                    return fla;
                }
            }
        }
        return null;
View Full Code Here

TOP

Related Classes of com.googlecode.psiprobe.tools.logging.FileLogAccessor

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.