Package cu.ftpd.modules.sitecommandlogger.eventhandler

Examples of cu.ftpd.modules.sitecommandlogger.eventhandler.SiteCommandLoggerEventHandler


    private SiteCommandLoggerEventHandler scleh = null;

    public void initialize(XMLSettings settings) throws ConfigurationException {
        try {
            log = new PrintWriter(new OutputStreamWriter(new FileOutputStream(new File(settings.get("/site_command_logger/log")), true)), true);
            scleh = new SiteCommandLoggerEventHandler(log, settings.get("/site_command_logger/commands"));
        } catch (FileNotFoundException e) {
            throw new ConfigurationException("Could not open log for writing", e);
        }
    }
View Full Code Here

TOP

Related Classes of cu.ftpd.modules.sitecommandlogger.eventhandler.SiteCommandLoggerEventHandler

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.