NCSARequestLog requestLog = new NCSARequestLog("./log/jetty-yyyy-mm-dd.log");
NCSARequestLog requestLog = new NCSARequestLog("./logs/jetty-yyyy-mm-dd.log");
    public static void main(String[] args)        throws Exception    {        Server server = new Server();                BoundedThreadPool threadPool = new BoundedThreadPool();        threadPool.setMaxThreads(100);        server.setThreadPool(threadPool);                     Connector connector=new SelectChannelConnector();        connector.setPort(8080);        server.setConnectors(new Connector[]{connector});                HandlerCollection handlers = new HandlerCollection();        ContextHandlerCollection contexts = new ContextHandlerCollection();        RequestLogHandler requestLogHandler = new RequestLogHandler();        handlers.setHandlers(new Handler[]{contexts,new DefaultHandler(),requestLogHandler});        server.setHandler(handlers);                // TODO add javadoc context to contexts                WebAppContext.addWebApplications(server, "./webapps", "org/mortbay/jetty/webapp/webdefault.xml", true, false);                HashUserRealm userRealm = new HashUserRealm();        userRealm.setName("Test Realm");        userRealm.setConfig("./etc/realm.properties");        server.setUserRealms(new UserRealm[]{userRealm});                NCSARequestLog requestLog = new NCSARequestLog("./log/jetty-yyyy-mm-dd.log");        requestLog.setExtended(false);        requestLogHandler.setRequestLog(requestLog);                server.setStopAtShutdown(true);        server.setSendServerVersion(true);                server.start();        server.join();    }