Package org.jitterbit.application.appdir

Examples of org.jitterbit.application.appdir.LogDirectory


                            "Failed to parse the command line arguments.");
        }
    }

    private static void createMainLogger() {
        LogDirectory logDir = getApplicationDirectory().getLogDirectory();
        ApplicationLog.setFolder(logDir);
        ApplicationLog.loadPreconfiguredLoggers();
        LOGGER = ApplicationLog.getMainLogger();
    }
View Full Code Here


    private void saveLogLevels() {
        // TODO: Pass in the LogDirectory
        ApplicationDirectory appDir = Application.getApplicationDirectory();
        if (appDir != null) {
            LogDirectory logDir = appDir.getLogDirectory();
            console.saveLogLevels(logDir);
        }
    }
View Full Code Here

        }
    }

    private static void checkLogDir(StringBuilder message) {
        try {
            LogDirectory logDir = getLogDir();
            if (logDir != null) {
                File session = logDir.getSessionLogFolder();
                if (session != null) {
                    message.append("\n\n").append("The log files for this session are located in: ").append(
                                    session.getAbsolutePath());
                }
                File errorLog = logDir.getSessionErrorLog();
                if (errorLog != null) {
                    message.append("\n\n").append("The error log for this session is written to: ").append(
                                    errorLog.getAbsolutePath());
                }
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.appdir.LogDirectory

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.